Project

General

Profile

Actions

Bug #15433

closed

OpenStruct NameError vs NoMethodError spec fails for method_missing

Added by normalperson (Eric Wong) about 5 years ago. Updated about 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:90607]
Tags:

Description

I've hit this with parallel tests on a bare trunk on all my Debian stable
machines, not sure why, yet:

1)
OpenStruct#method_missing when passed additional arguments raises a NoMethodErro
r ERROR
NameError: undefined local variable or method `test' for #<OpenStruct>
$srcdir/lib/ostruct.rb:213:in `method_missing'
$srcdir/spec/ruby/library/openstruct/method_missing_spec.rb:37:in `block (3 leve
ls) in <top (required)>'
$srcdir/spec/ruby/library/openstruct/method_missing_spec.rb:37:in `block (2 leve
ls) in <top (required)>'
$srcdir/spec/ruby/library/openstruct/method_missing_spec.rb:34:in `<top (require
d)>'
Actions #1

Updated by jeremyevans0 (Jeremy Evans) about 3 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0