COMMIT Kernel#send: Reconcile descriptions with expectations. http://github.com/rubyspec/rubyspec/commit/0d84a34cb1ae5c565e0252c3cba2db7f7a558a58 COMMIT TODO: Ask brixen about sharing #send/#public_send http://github.com/rubyspec/rubyspec/commit/7013da99a3c720a37c1a6d3dc797f4844969dd6b COMMIT Kernel#public_send: Initially specify 1.9 method http://github.com/rubyspec/rubyspec/commit/19bfbc7990248e846fb01b8c2697b5ea38b9f3b5 COMMIT BasicObject#instance_exec: _Initial_ spec. for 1.9 method http://github.com/rubyspec/rubyspec/commit/dfd96485c2e3e6eedb7493d8b093bee93fe85290 COMMIT ->(){}: Fix typo. http://github.com/rubyspec/rubyspec/commit/9c5ccd9b696910296286a5313bfe0276eed3d1c0 COMMIT TODO: 1.9 attaches existing methods to BasicObject. Handle? http://github.com/rubyspec/rubyspec/commit/4d163ef6dae8df807eac46147feed858afa22725 COMMIT TODO: Specified ->(){}: (done). http://github.com/rubyspec/rubyspec/commit/2d2895ce05f32cbf31f6a87bfe5f3dd00af7ef3d COMMIT ->(){}: Specify 1.9 literal lambda syntax. http://github.com/rubyspec/rubyspec/commit/fbd9b0466840232b9f23d7d1f598d4e027696305 COMMIT Proc#source_location: Specify 1.9 method. http://github.com/rubyspec/rubyspec/commit/f0d9b218f93099868ac119b35bd154f49e23a107 COMMIT Proc#hash: Specify 1.9 method. http://github.com/rubyspec/rubyspec/commit/eb679284f9ba9cac39858ea5b8cc3825dc41acef COMMIT Method#source_location: Clarify alias handling. http://github.com/rubyspec/rubyspec/commit/308ec5123e4eb67fbc0b2ba8dd43719ae14422bd COMMIT Complex#real?: Specify 1.9 method. http://github.com/rubyspec/rubyspec/commit/d96aa3ed2c2dfd2edb2aeabf97b60f6d61882a02 --- 20090704T082812 +++ 20090705T082459 @@ -1,6846 +1,6847 @@ - increments for each line - is eval aware +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/language/literal_lambda_spec.rb /home/chkbuild/tmp/build/ruby-1.8//rubyspec/language/loop_spec.rb The loop expression - repeats the given block until a break is called @@ -12703,7 +12704,7 @@ - associates new IO with the old descriptor so each IO directly affects the other - raises TypeError if not given an Integer or #to_int - raises EBADF if the file descriptor given is not a valid and open one -- raises EINVAL if mode is not compatible with the descriptor's current mode +- raises EINVAL if mode is not compatible with the descriptor's current mode (FAILED - ) - raises IOError on closed stream - does not close the stream automatically if given a block - emits a warning if given a block @@ -14042,6 +14043,7 @@ - returns a list of the names of publicly accessible methods in the object - returns a list of the names of publicly accessible methods in the object and its ancestors and mixed-in modules +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/kernel/public_send_spec.rb /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/kernel/putc_spec.rb Kernel#putc - is a private method @@ -14177,8 +14179,8 @@ Kernel#send - invokes the named method - invokes a class method if called on a class -- raises a NoMethodError if the corresponding method can't be found -- raises a NoMethodError if the corresponding singleton method can't be found +- raises a NameError if the corresponding method can't be found +- raises a NameError if the corresponding singleton method can't be found - raises an ArgumentError if called with more arguments than available parameters - raises an ArgumentError if called with fewer arguments than required parameters - succeeds if passed an arbitrary number of arguments as a splat parameter @@ -15847,6 +15849,7 @@ - returns false if self and other are both lambdas but have different bodies - returns false if self and other are different kinds of procs and have different bodies +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/proc/hash_spec.rb /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/proc/lambda_spec.rb /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/proc/new_spec.rb Proc.new with an associated block @@ -15860,6 +15863,7 @@ - returns a new Proc instance from the block passed to the containing method /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/proc/parameters_spec.rb +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/proc/source_location_spec.rb /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/proc/to_proc_spec.rb Proc#to_proc - returns self @@ -17717,92 +17721,92 @@ /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/symbol/inspect_spec.rb Symbol#inspect -- returns self as a symbol literal for :"\"\"" +- returns self as a symbol literal for :" foo" +- returns self as a symbol literal for :"$-ww" - returns self as a symbol literal for :[] - returns self as a symbol literal for :$= - returns self as a symbol literal for :$$ -- returns self as a symbol literal for :"@ruby?" - returns self as a symbol literal for :/ - returns self as a symbol literal for :$. -- returns self as a symbol literal for :"?" -- returns self as a symbol literal for :"=" +- returns self as a symbol literal for :"|||" - returns self as a symbol literal for :".." +- returns self as a symbol literal for :"$ruby?" - returns self as a symbol literal for :$~ -- returns self as a symbol literal for :fred! -- returns self as a symbol literal for :"$" +- returns self as a symbol literal for :@ruby - returns self as a symbol literal for :"++" -- returns self as a symbol literal for :"." +- returns self as a symbol literal for :"@" - returns self as a symbol literal for :=~ - returns self as a symbol literal for :$< - returns self as a symbol literal for :> -- returns self as a symbol literal for :" " - returns self as a symbol literal for :< -- returns self as a symbol literal for :"\"" +- returns self as a symbol literal for :"'" +- returns self as a symbol literal for :"foo " - returns self as a symbol literal for :$\ -- returns self as a symbol literal for :@@ruby +- returns self as a symbol literal for :"@@ruby?" - returns self as a symbol literal for :>= - returns self as a symbol literal for :$+ - returns self as a symbol literal for :` -- returns self as a symbol literal for :"@ruby!" -- returns self as a symbol literal for :"=>" +- returns self as a symbol literal for :"||" - returns self as a symbol literal for :^ +- returns self as a symbol literal for :"$ruby!" - returns self as a symbol literal for :% -- returns self as a symbol literal for :fred? - returns self as a symbol literal for :=== -- returns self as a symbol literal for :$1234 - returns self as a symbol literal for :"foo bar" +- returns self as a symbol literal for :";" - returns self as a symbol literal for :$: -- returns self as a symbol literal for :"," - returns self as a symbol literal for :$* - returns self as a symbol literal for :<=> -- returns self as a symbol literal for :" foo" -- returns self as a symbol literal for :"$-ww" - returns self as a symbol literal for :$> +- returns self as a symbol literal for :"&&" - returns self as a symbol literal for :"!" - returns self as a symbol literal for :-@ -- returns self as a symbol literal for :"|||" +- returns self as a symbol literal for :"*foo" - returns self as a symbol literal for :>> - returns self as a symbol literal for :~ +- returns self as a symbol literal for :"@@ruby!" - returns self as a symbol literal for :$' -- returns self as a symbol literal for :"$ruby?" -- returns self as a symbol literal for :"@" -- returns self as a symbol literal for :@ruby - returns self as a symbol literal for :[]= - returns self as a symbol literal for :| +- returns self as a symbol literal for :":" - returns self as a symbol literal for :"..." - returns self as a symbol literal for :$; -- returns self as a symbol literal for :"'" -- returns self as a symbol literal for :"foo " -- returns self as a symbol literal for :"@@ruby?" +- returns self as a symbol literal for :fred +- returns self as a symbol literal for :$ruby - returns self as a symbol literal for :$! - returns self as a symbol literal for :"!~" -- returns self as a symbol literal for :"||" -- returns self as a symbol literal for :"$ruby!" +- returns self as a symbol literal for :"\"\"" - returns self as a symbol literal for :* - returns self as a symbol literal for :$/ +- returns self as a symbol literal for :"@ruby?" - returns self as a symbol literal for :$` -- returns self as a symbol literal for :";" +- returns self as a symbol literal for :"?" +- returns self as a symbol literal for :"=" - returns self as a symbol literal for :<= +- returns self as a symbol literal for :fred! - returns self as a symbol literal for :$" +- returns self as a symbol literal for :"$" +- returns self as a symbol literal for :"." - returns self as a symbol literal for :& -- returns self as a symbol literal for :"&&" - returns self as a symbol literal for :"!=" -- returns self as a symbol literal for :"*foo" +- returns self as a symbol literal for :" " - returns self as a symbol literal for :$@ - returns self as a symbol literal for :== - returns self as a symbol literal for :$? -- returns self as a symbol literal for :"@@ruby!" -- returns self as a symbol literal for :fred - returns self as a symbol literal for :$-w - returns self as a symbol literal for :$_ +- returns self as a symbol literal for :"\"" - returns self as a symbol literal for :$& +- returns self as a symbol literal for :@@ruby - returns self as a symbol literal for :$, - returns self as a symbol literal for :** +- returns self as a symbol literal for :"@ruby!" - returns self as a symbol literal for :"9" +- returns self as a symbol literal for :"=>" - returns self as a symbol literal for :"::" -- returns self as a symbol literal for :":" +- returns self as a symbol literal for :$1234 - returns self as a symbol literal for :+@ -- returns self as a symbol literal for :$ruby +- returns self as a symbol literal for :fred? +- returns self as a symbol literal for :"," - returns self as a symbol literal for :<< /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/symbol/to_i_spec.rb @@ -27809,6 +27813,37 @@ /home/chkbuild/tmp/build/ruby-1.8//mspec/bin/mspec-run:8 ) +IO.new raises EINVAL if mode is not compatible with the descriptor's current mode FAILED +Expected to not get Exception +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/expectations/should.rb:19:in `should_not' +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/io/shared/new.rb:75 +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/io/shared/new.rb:68:in `all?' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `each' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `all?' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:163:in `process' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:155:in `each' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:155:in `process' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:36:in `describe' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/object.rb:11:in `describe' +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/io/new_spec.rb:4 +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `load' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `files' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `files' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:49:in `each' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:49:in `files' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:41:in `process' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/commands/mspec-run.rb:87:in `run' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/utils/script.rb:217:in `main' +/home/chkbuild/tmp/build/ruby-1.8//mspec/bin/mspec-run:8 + + ) Kernel.__method__ returns the current method, even when aliased FAILED Expected :send to equal :f @@ -29882,7 +29917,7 @@ Finished in seconds -2750 files, 11260 examples, 36108 expectations, 48 failures, 31 errors +2754 files, 11260 examples, 36108 expectations, 49 failures, 31 errors exit 1 failed(rubyspec) == end #