COMMIT [NARUSE, Yui] From r31169, defined?() returns 'constant'. http://github.com/rubyspec/rubyspec/commit/3048b388bc178583e1e25812fab0ee98bb6a04b9 COMMIT [NARUSE, Yui] Split the spec into require/load and autolod in instance_eval. http://github.com/rubyspec/rubyspec/commit/d949959b69240f86e43d20a4bde6fff495c84d08 =================================================================== +++ 20110615T035555Z @@ 15865 @@ - sets the autoload constant in Object's constant table - loads the file when the constant is accessed - does not call Kernel.require or Kernel.load to load the file +- can autoload in instance_eval Kernel#autoload? - is a private method @@ 49202 @@ - sets the autoload constant in Object's constant table - loads the file when the constant is accessed - does not call Kernel.require or Kernel.load to load the file +- can autoload in instance_eval Kernel#autoload? - is a private method @@ 53021 @@ Expected TypeError but no exception was raised /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/expectations/should.rb:8:in `should' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/module/autoload_spec.rb:340 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/module/autoload_spec.rb:329:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `each' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' =================================================================== --- 20110614T060748Z @@ 53019 @@ Expected TypeError but no exception was raised /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/expectations/should.rb:8:in `should' -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/module/autoload_spec.rb:328 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/module/autoload_spec.rb:317:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `each' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect'