[BUG] ./spec/ruby/1.8/library/erb/result_spec.rb fails
Reported by Le Huy | April 4th, 2008 @ 04:18 AM | in 1.0 preview
huy@huy-desktop:/u01/rubinius/code$ bin/mspec -t rbx ./spec/ruby/1.8/library/erb/result_spec.rb
....E
1)
ERB#result use TOPLEVEL_BINDING if binding is not passed ERROR
undefined local variable or method `_xxx_var_' for main
Kernel(Object)#_xxx_var_ (method_missing_cv) at kernel/core/kernel.rb:602
Object#__script__ {} at (erb):1
Kernel(ERB)#eval at kernel/core/eval.rb:98
ERB#result at /u01/rubinius/code/lib/erb.rb:743
MyERB2#main1 at ./spec/ruby/1.8/library/erb/result_spec.rb:70
Object#__script__ {} at ./spec/ruby/1.8/library/erb/result_spec.rb:80
Proc#call at kernel/core/proc.rb:84
MSpec.protect at ./mspec/runner/mspec.rb:116
RunState#protect {} at ./mspec/runner/state.rb:46
Array#each at kernel/core/array.rb:573
RunState#protect at ./mspec/runner/state.rb:46
RunState#process {} at ./mspec/runner/state.rb:64
Array#each at kernel/core/array.rb:573
RunState#process at ./mspec/runner/state.rb:68
MSpec.describe at ./mspec/runner/mspec.rb:21
Object#describe at ./mspec/runner/object.rb:11
Object#__script__ at ./spec/ruby/1.8/library/erb/result_spec.rb:4
CompiledMethod#as_script at kernel/core/compiled_method.rb:326
Compile.single_load at kernel/core/compile.rb:233
Compile.unified_load at kernel/core/compile.rb:113
Kernel.load at kernel/core/compile.rb:390
MSpec.files {} at ./mspec/runner/mspec.rb:37
Proc#call at kernel/core/proc.rb:84
MSpec.protect at ./mspec/runner/mspec.rb:112
MSpec.files {} at ./mspec/runner/mspec.rb:38
Array#each at kernel/core/array.rb:573
MSpec.files at ./mspec/runner/mspec.rb:34
MSpec.process at ./mspec/runner/mspec.rb:27
MSpecRun#run at mspec/bin/mspec-run:74
MSpecRun.main at ./mspec/bin/script.rb:65
Object#__script__ at mspec/bin/mspec-run:79
CompiledMethod#as_script at kernel/core/compiled_method.rb:326
Compile.single_load at kernel/core/compile.rb:233
Compile.load_from_extension at kernel/core/compile.rb:310
Object#__script__ at kernel/loader.rb:190
Comments and changes to this ticket
-
Charles Comstock April 4th, 2008 @ 11:36 AM
- → State changed from new to invalid
In the future, where this bug is probably related to #472, could you merge them into one bug instead of reporting them separately?
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
