Skip to content

Instantly share code, notes, and snippets.

@BanzaiMan
Created August 17, 2009 04:43
Show Gist options
  • Select an option

  • Save BanzaiMan/168915 to your computer and use it in GitHub Desktop.

Select an option

Save BanzaiMan/168915 to your computer and use it in GitHub Desktop.
jruby 1.4.0dev (ruby 1.8.7p174) (2009-08-16 6586) (Java HotSpot(TM) Client VM 1.5.0_12) [sparc-java]
........................................................................................................................................................................................................................................................................................................................................................................................................F...............F...............F...........................F...............F................................................................................
1)
Array#pack with format 'f' accepts a NaN FAILED
Expected "\177\377\377\377"
to match /\xFF(?:[\x81-\xFF]..|\x80[\x01-\xFF].|\x80.[\x01-\xFF])/n
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/matchers/base.rb:44:in `=~'
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:1628
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `all?'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:163:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:36:in `describe'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe'
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:1761
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:55:in `load'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:41:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/commands/mspec-run.rb:87:in `run'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/utils/script.rb:217:in `main'
/net_home/hasari/tools/jruby/spec/mspec/bin/mspec-run:8
2)
Array#pack with format 'd' accepts a NaN FAILED
Expected "\177\377\377\377\377\377\377\377"
to match /\xFF(?:[\xF1-\xFF].{6}|\xF0\x00*[\x01-\xFF]\x00*)/n
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/matchers/base.rb:44:in `=~'
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:1710
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `all?'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:163:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:36:in `describe'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe'
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:1769
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:55:in `load'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:41:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/commands/mspec-run.rb:87:in `run'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/utils/script.rb:217:in `main'
/net_home/hasari/tools/jruby/spec/mspec/bin/mspec-run:8
3)
Array#pack with format 'e' accepts a NaN FAILED
Expected "\377\377\377\177"
to match /(?:..[\x81-\xFF]|.[\x01-\xFF]\x80|[\x01-\xFF].\x80)\xFF/n
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/matchers/base.rb:44:in `=~'
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:1675
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `all?'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:163:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:36:in `describe'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe'
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:1777
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:55:in `load'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:41:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/commands/mspec-run.rb:87:in `run'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/utils/script.rb:217:in `main'
/net_home/hasari/tools/jruby/spec/mspec/bin/mspec-run:8
4)
Array#pack with format 'g' accepts a NaN FAILED
Expected "\177\377\377\377"
to match /\xFF(?:[\x81-\xFF]..|\x80[\x01-\xFF].|\x80.[\x01-\xFF])/n
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/matchers/base.rb:44:in `=~'
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:1628
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `all?'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:163:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:36:in `describe'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe'
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:1791
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:55:in `load'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:41:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/commands/mspec-run.rb:87:in `run'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/utils/script.rb:217:in `main'
/net_home/hasari/tools/jruby/spec/mspec/bin/mspec-run:8
5)
Array#pack with format 'G' accepts a NaN FAILED
Expected "\177\377\377\377\377\377\377\377"
to match /\xFF(?:[\xF1-\xFF].{6}|\xF0\x00*[\x01-\xFF]\x00*)/n
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/matchers/base.rb:44:in `=~'
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:1710
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `all?'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:163:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:36:in `describe'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe'
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:1798
/net_home/hasari/tools/jruby/spec/ruby/core/array/pack_spec.rb:55:in `load'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `each'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `files'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/runner/mspec.rb:41:in `process'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/commands/mspec-run.rb:87:in `run'
/net_home/hasari/tools/jruby/spec/mspec/lib/mspec/utils/script.rb:217:in `main'
/net_home/hasari/tools/jruby/spec/mspec/bin/mspec-run:8
Finished in 3.155000 seconds
1 file, 549 examples, 1244 expectations, 5 failures, 0 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment