COMMIT Add spec to verify ArgumentError is thrown when send is not given any arguments http://github.com/rubyspec/rubyspec/commit/6e3d9b7401da7468ef34fb30f6c97e182dc2fc7d COMMIT Some more Kernel#require specs. http://github.com/rubyspec/rubyspec/commit/be2969289ffa86a888423e8b75f3713c58ac3eaa COMMIT Kernel#require updates for #to_str and #to_path conversions of arguments. http://github.com/rubyspec/rubyspec/commit/5be8ff00a71dc27891c58570527f89135d28f3ee COMMIT Fix Kernel#require spec failures on Windows. http://github.com/rubyspec/rubyspec/commit/c45d9e880bfddbe3f40c4dbb7fdc1d5235678fcf --- 20091128T082511 +++ 20091129T082430 @@ -1,13434 +1,13435 @@ - requires arbitrarily complex files (files with large numbers of AST nodes) - raises a LoadError if the file can't be found - raises a LoadError if the file exists but can't be read -- only accepts strings +- only accepts strings and objects with #to_str +- calls #to_str on non-String arguments - does not infinite loop on an rb file that requires itself - produces __FILE__ as the given filename and __LINE__ as the source line number (FAILED - ) @@ -13480,6 +13481,7 @@ - invokes a class method if called on a class - 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 no arguments are given - 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 @@ -29025,9 +29027,9 @@ /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/matchers/base.rb:8:in `==' -/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/kernel/require_spec.rb:430 -/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/kernel/require_spec.rb:428:in `chdir' -/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/kernel/require_spec.rb:428 +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/kernel/require_spec.rb:485 +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/kernel/require_spec.rb:483:in `chdir' +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/kernel/require_spec.rb:483 /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' @@ -33729,7 +33731,7 @@ Finished in seconds -2905 files, 11629 examples, 36376 expectations, 97 failures, 87 errors +2905 files, 11631 examples, 36387 expectations, 97 failures, 87 errors exit 1 failed(rubyspec) == end #