Skip to content

Instantly share code, notes, and snippets.

@akatz
Created September 27, 2011 04:02
Show Gist options
  • Save akatz/1244315 to your computer and use it in GitHub Desktop.
Save akatz/1244315 to your computer and use it in GitHub Desktop.
➜ rubinius git:(master) bin/mspec spec/ruby/core/proc
rubinius 2.0.0dev (1.8.7 c8a4b1ee yyyy-mm-dd JI) [x86_64-apple-darwin11.1.0]
..............................................................F......
1)
Proc.new with an associated block called on a subclass of Proc using a reified block parameter returns an instance of the subclass FAILED
Expected Proc
to equal #<Class:0x1d64>
/expectations.rb:15
{ } in Object#__script__ at spec/ruby/core/proc/new_spec.rb:43
Kernel(Object)#instance_eval at kernel/common/eval18.rb:43
{ } in Enumerable(Array)#all? at kernel/common/enumerable.rb:235
Array#each at kernel/bootstrap/array.rb:66
Enumerable(Array)#all? at kernel/common/enumerable.rb:235
Array#each at kernel/bootstrap/array.rb:66
Array#each at kernel/bootstrap/array.rb:66
Array#each at kernel/bootstrap/array.rb:66
Object#__script__ at spec/ruby/core/proc/new_spec.rb:4
Kernel.load at kernel/common/kernel.rb:687
Kernel(Object)#instance_eval at kernel/common/eval18.rb:43
Array#each at kernel/bootstrap/array.rb:66
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:65
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:107
Rubinius::Loader#script at kernel/loader.rb:618
Rubinius::Loader#main at kernel/loader.rb:772
Finished in 0.249260 seconds
19 files, 69 examples, 187 expectations, 1 failure, 0 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment