Skip to content

Instantly share code, notes, and snippets.

@stepheneb
Created February 14, 2009 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stepheneb/64442 to your computer and use it in GitHub Desktop.
Save stepheneb/64442 to your computer and use it in GitHub Desktop.
[rubyspec.git (master)]$ ruby -v
ruby 1.8.7 (2009-2-13 MBARI 7/0x8770 on patchlevel 72) [i686-darwin9.6.0]
[rubyspec.git (master)]$ mspec
ruby 1.8.7 (2009-2-13 MBARI 7/0x8770 on patchlevel 72) [i686-darwin9.6.0]
....................................................EE..EE.....................................................................E........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FFF..........FF...........................................................................................................................................................................................................................F.............................................................................................................................................................................EE.....E.............................................................................................................................
1)
ARGF.bytes returns an Enumerable::Enumerator when passed no block ERROR
NoMethodError: undefined method `be_an_instance_of' for #<Object:0x385e50>
./core/argf/shared/each_byte.rb:41
./core/argf/shared/each_byte.rb:39
./core/argf/bytes_spec.rb:2:in `all?'
./core/argf/bytes_spec.rb:5
./core/argf/bytes_spec.rb:4
2)
ARGF.chars returns an Enumerable::Enumerator when passed no block ERROR
NoMethodError: undefined method `be_an_instance_of' for #<Object:0x37a6a4>
./core/argf/shared/each_char.rb:32
./core/argf/shared/each_char.rb:30
./core/argf/chars_spec.rb:2:in `all?'
./core/argf/chars_spec.rb:5
./core/argf/chars_spec.rb:4
3)
ARGF.each_byte returns an Enumerable::Enumerator when passed no block ERROR
NoMethodError: undefined method `be_an_instance_of' for #<Object:0x3688c8>
./core/argf/shared/each_byte.rb:41
./core/argf/shared/each_byte.rb:39
./core/argf/each_byte_spec.rb:2:in `all?'
./core/argf/each_byte_spec.rb:4
4)
ARGF.each_char returns an Enumerable::Enumerator when passed no block ERROR
NoMethodError: undefined method `be_an_instance_of' for #<Object:0x361a64>
./core/argf/shared/each_char.rb:32
./core/argf/shared/each_char.rb:30
./core/argf/each_char_spec.rb:2:in `all?'
./core/argf/each_char_spec.rb:5
./core/argf/each_char_spec.rb:4
5)
An exception occurred during: before :all ERROR
LoadError: dlopen(/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/i686-darwin9.6.0/dl.bundle, 9): Symbol not found: _rb_DLStdcallCallbackProcs
Referenced from: /Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/i686-darwin9.6.0/dl.bundle
Expected in: flat namespace
- /Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/i686-darwin9.6.0/dl.bundle
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/i686-darwin9.6.0/dl.bundle
./core/array/pack_spec.rb:2363
./core/array/pack_spec.rb:2272:in `all?'
./core/array/pack_spec.rb:2426
6)
An exception occurred during: before :all ERROR
LoadError: dlopen(/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/i686-darwin9.6.0/dl.bundle, 9): Symbol not found: _rb_DLStdcallCallbackProcs
Referenced from: /Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/i686-darwin9.6.0/dl.bundle
Expected in: flat namespace
- /Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/i686-darwin9.6.0/dl.bundle
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/i686-darwin9.6.0/dl.bundle
./core/array/pack_spec.rb:2363
./core/array/pack_spec.rb:2363:in `all?'
./core/array/pack_spec.rb:2475
7)
Module#autoload shares the autoload request across dup'ed copies of modules FAILED
Expected NameError
but got TypeError (wrong autoload table: #<Proc:0x014f7904@./core/module/autoload_spec.rb:252>)
./core/module/autoload_spec.rb:252
./core/module/autoload_spec.rb:238:in `all?'
./core/module/autoload_spec.rb:15
8)
Readline::HISTORY.each yields each item in the history FAILED
Expected ["2", "3"]
to equal ["1", "2", "3"]
./library/readline/history/each_spec.rb:23
./library/readline/history/each_spec.rb:4:in `all?'
./library/readline/history/each_spec.rb:7
./library/readline/history/each_spec.rb:6
./library/readline/history/each_spec.rb:3
9)
Readline::HISTORY.[] returns the history item at the passed index FAILED
Expected "2"
to equal "1"
./library/readline/history/element_reference_spec.rb:24
./library/readline/history/element_reference_spec.rb:4:in `all?'
./library/readline/history/element_reference_spec.rb:7
./library/readline/history/element_reference_spec.rb:6
./library/readline/history/element_reference_spec.rb:3
10)
Readline::HISTORY.[] raises an IndexError when there is no item at the passed index FAILED
Expected IndexError but no exception was raised
./library/readline/history/element_reference_spec.rb:34
./library/readline/history/element_reference_spec.rb:7
./library/readline/history/element_reference_spec.rb:6
./library/readline/history/element_reference_spec.rb:3
11)
Readline::HISTORY.[]= sets the item at the given index FAILED
Expected "2"
to equal "test"
./library/readline/history/element_set_spec.rb:28
./library/readline/history/element_set_spec.rb:23:in `all?'
./library/readline/history/element_set_spec.rb:7
./library/readline/history/element_set_spec.rb:6
./library/readline/history/element_set_spec.rb:3
12)
Resolv#getaddress resolves localhost FAILED
Expected to not get Resolv::ResolvError
./library/resolv/get_address_spec.rb:13
./library/resolv/get_address_spec.rb:6:in `all?'
./library/resolv/get_address_spec.rb:4
13)
Resolv#getaddresses resolves localhost FAILED
Expected 0
to be greater than 0
./library/resolv/get_addresses_spec.rb:19
./library/resolv/get_addresses_spec.rb:6:in `all?'
./library/resolv/get_addresses_spec.rb:4
14)
Socket::IPSocket#getaddress raises an error on unknown hostnames FAILED
Expected SocketError but no exception was raised
./library/socket/ipsocket/getaddress_spec.rb:17
./library/socket/ipsocket/getaddress_spec.rb:2:in `all?'
./library/socket/ipsocket/getaddress_spec.rb:4
15)
An exception occurred during: after :each
Tempfile#close when passed [true] closes self ERROR
TypeError: can't convert nil into String
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/tempfile.rb:131:in `exist?'
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/tempfile.rb:131:in `unlink'
./library/tempfile/close_spec.rb:21
./library/tempfile/close_spec.rb:2:in `all?'
./library/tempfile/close_spec.rb:15
16)
Tempfile#close when passed [true] unlinks self ERROR
TypeError: can't convert nil into String
./library/tempfile/close_spec.rb:31:in `exists?'
./library/tempfile/close_spec.rb:31
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/tempfile.rb:131:in `all?'
./library/tempfile/close_spec.rb:15
17)
An exception occurred during: after :each
Tempfile#close when passed [true] unlinks self ERROR
TypeError: can't convert nil into String
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/tempfile.rb:131:in `exist?'
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/tempfile.rb:131:in `unlink'
./library/tempfile/close_spec.rb:21
./library/tempfile/close_spec.rb:31:in `all?'
./library/tempfile/close_spec.rb:15
18)
An exception occurred during: after :each
Tempfile#close! closes self ERROR
TypeError: can't convert nil into String
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/tempfile.rb:131:in `exist?'
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/tempfile.rb:131:in `unlink'
./library/tempfile/close_spec.rb:41
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/tempfile.rb:131:in `all?'
./library/tempfile/close_spec.rb:35
19)
Tempfile#close! unlinks self ERROR
TypeError: can't convert nil into String
./library/tempfile/close_spec.rb:51:in `exists?'
./library/tempfile/close_spec.rb:51
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/tempfile.rb:131:in `all?'
./library/tempfile/close_spec.rb:35
20)
An exception occurred during: after :each
Tempfile#close! unlinks self ERROR
TypeError: can't convert nil into String
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/tempfile.rb:131:in `exist?'
/Users/stephen/dev/ruby/builds/mri/v1_8_7_72-mbari/lib/ruby/1.8/tempfile.rb:131:in `unlink'
./library/tempfile/close_spec.rb:41
./library/tempfile/close_spec.rb:51:in `all?'
./library/tempfile/close_spec.rb:35
21)
Tempfile#delete unlinks self ERROR
TypeError: can't convert nil into String
./library/tempfile/shared/unlink.rb:13:in `exists?'
./library/tempfile/shared/unlink.rb:13
./library/tempfile/delete_spec.rb:3:in `all?'
./library/tempfile/delete_spec.rb:5
22)
Tempfile#unlink unlinks self ERROR
TypeError: can't convert nil into String
./library/tempfile/shared/unlink.rb:13:in `exists?'
./library/tempfile/shared/unlink.rb:13
./library/tempfile/unlink_spec.rb:3:in `all?'
./library/tempfile/unlink_spec.rb:5
Finished in 372.929349 seconds
2537 files, 10216 examples, 34666 expectations, 8 failures, 14 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment