COMMIT * library/matrix: fix some tests; Matrix[1] (not valid) => Matrix[ [1] ] (valid) http://github.com/rubyspec/rubyspec/commit/90defd582eb7a14acf22c770bc86ac60d3d2bac8 --- 20090917T084503 +++ 20090918T083919 @@ -1,18726 +1,18726 @@ - searches class methods including modules - calls the correct method when the method visibility is modified - calls the correct method when the superclass argument list is different from the subclass -- raises an error error when super method does not exist +- raises an error error when super method does not exist (FAILED - ) - supers up appropriate name even if used for multiple method names - can be used with implicit arguments from a method defined with define_method @@ -28673,6 +28673,38 @@ /home/chkbuild/tmp/build/ruby-1.8.7//mspec/bin/mspec-run:8 ) +The super keyword raises an error error when super method does not exist FAILED +Expected NoMethodError ((?-mix:super)) +but got NoMethodError (undefined method `foo' for #<#:0xXXXXXXXXXXXX>) +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/expectations/should.rb:7:in `should' +/home/chkbuild/tmp/build/ruby-1.8.7//rubyspec/language/super_spec.rb:75 +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:67:in `protect' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:135:in `protect' +/home/chkbuild/tmp/build/ruby-1.8.7//rubyspec/language/super_spec.rb:2:in `all?' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:135:in `each' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:135:in `all?' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:135:in `protect' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:163:in `process' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:155:in `each' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:155:in `process' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:36:in `describe' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/object.rb:11:in `describe' +/home/chkbuild/tmp/build/ruby-1.8.7//rubyspec/language/super_spec.rb:4 +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:55:in `load' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:55:in `files' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:67:in `protect' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:55:in `files' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:49:in `each' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:49:in `files' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:41:in `process' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/commands/mspec-run.rb:87:in `run' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/utils/script.rb:217:in `main' +/home/chkbuild/tmp/build/ruby-1.8.7//mspec/bin/mspec-run:8 + + ) BigDecimal#to_i returns nil if BigDecimal is infinity or NaN ERROR FloatDomainError: Computation results to 'Infinity' /home/chkbuild/tmp/build/ruby-1.8.7//rubyspec/library/bigdecimal/shared/to_int.rb:5:in `to_i' @@ -29591,7 +29623,7 @@ Finished in seconds -2889 files, 11344 examples, 36624 expectations, 32 failures, 35 errors +2889 files, 11344 examples, 36624 expectations, 33 failures, 35 errors exit 1 failed(rubyspec) == end #