COMMIT Update specs for Ruby 1.8.8 http://github.com/rubyspec/rubyspec/commit/389eacaa397d4862fa1229b88bd4e60bda115f3f COMMIT One more spec for StringIO#seek. http://github.com/rubyspec/rubyspec/commit/fcc038c682e96c0418f15279d787f6e9249ff49e COMMIT New tests for StringIO#initialize_copy. http://github.com/rubyspec/rubyspec/commit/0cbb449ef5b547b88d10eb23dcbb8b8d2ed4c6bd COMMIT More specs for String#encode. http://github.com/rubyspec/rubyspec/commit/31ab42506d21b24d39d8c1f557ddc8845f6d5b8f COMMIT Additional cases for raising a negative number to a fractional power. http://github.com/rubyspec/rubyspec/commit/463f71dff46950834cf6e5c3330e504e27550cc9 COMMIT We should expect only approximity in when raising a negative Rational to a fractional power. http://github.com/rubyspec/rubyspec/commit/49ecffe2d06fcdb4eaf04d8114d363cc6d4bf2e0 --- 20091206T095953 +++ 20091207T100734 @@ -1,7598 +1,7595 @@ - properly handles recursive arrays /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/array/sample_spec.rb -Array#sample -- is not defined - /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/array/select_spec.rb Array#select - raises a LocalJumpError if no block given @@ -25434,6 +25431,7 @@ - copies the passed StringIO's mode to self - copies the passed StringIO's append mode - does not truncate self's content when the copied StringIO was in truncate mode +- makes both StringIO objects to share position, eof status /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/stringio/initialize_spec.rb StringIO#initialize when passed [Object, mode] @@ -25732,6 +25730,7 @@ - seeks from the end of self when whence is IO::SEEK_END - seeks to an absolute position when whence is IO::SEEK_SET - raises an Errno::EINVAL error on negative amounts when whence is IO::SEEK_SET +- raises an Errno::EINVAL error on incorrect whence argument (FAILED - ) - tries to convert the passed Object to a String using #to_int - raises a TypeError when the passed Object can't be converted to an Integer @@ -27621,6 +27620,37 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/bin/mspec-run:8 ) +StringIO#seek raises an Errno::EINVAL error on incorrect whence argument FAILED +Expected Errno::EINVAL but got ArgumentError (invalid whence 3) +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/expectations/should.rb:7:in `should' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/stringio/seek_spec.rb:40 +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `protect' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `protect' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/stringio/seek_spec.rb:36:in `all?' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `each' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `all?' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `protect' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:163:in `process' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:155:in `each' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:155:in `process' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:36:in `describe' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/object.rb:11:in `describe' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/stringio/seek_spec.rb:4 +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `load' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `files' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `protect' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `files' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:49:in `each' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:49:in `files' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:41:in `process' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/commands/mspec-run.rb:87:in `run' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/utils/script.rb:217:in `main' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/bin/mspec-run:8 + + ) An exception occurred during: loading /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/optional/ffi/buffer_spec.rb ERROR LoadError: no such file to load -- rubygems /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/optional/ffi/spec_helper.rb:5:in `require' @@ -27964,7 +27994,7 @@ Finished in seconds -2906 files, 11012 examples, 33628 expectations, 12 failures, 38 errors +2906 files, 11013 examples, 33637 expectations, 13 failures, 38 errors exit 1 failed(rubyspec) == end #