COMMIT Added be_computed_by_function matcher. http://github.com/rubyspec/mspec/commit/22ad6ea7da64cd48cc0d9c8d700a1130ac7c525f COMMIT Update #sprintf specs for 1.9 bugfix. http://github.com/rubyspec/rubyspec/commit/2e331078dfeeb262e29467f8dd2808c3cd0e4614 COMMIT Use be_computed_by_function matcher for #sprintf specs. http://github.com/rubyspec/rubyspec/commit/5a520ca9776c5343f50434c9e69faa2e5e518c8b COMMIT No before block for String#bytes encoding feature http://github.com/rubyspec/rubyspec/commit/5091a8b3fbfc367a27bee9ed53a0e5d09351a724 COMMIT Fixed describe string. http://github.com/rubyspec/rubyspec/commit/4c34f4c9fd789267222b3dceed01c0978a809af8 COMMIT Fixed syntax error and warning. http://github.com/rubyspec/rubyspec/commit/e07ebf27fc82b9e403cc0f6433159e6cb99db208 COMMIT Fixed C-API specs after RubySpec sync. http://github.com/rubyspec/rubyspec/commit/fffa80d2d8ab605bbbf3c71d691edfe7fed35d60 COMMIT More C-API spec cleanup. http://github.com/rubyspec/rubyspec/commit/a15b26ca5f6da3be4ef20ffb99b358f5842a8ccd =================================================================== +++ 20110108T015338Z @@ 16654 @@ - raises an ArgumentError when a block and normal arguments are given /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/module/module_exec_spec.rb +Module#module_exec - does not add defined methods to other classes (ERROR - ) - defines method in the receiver's scope (ERROR - ) - evaluates a given block in the context of self (ERROR - ) @@ 49386 @@ ruby /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/module/module_exec_spec.rb +Module#module_exec - does not add defined methods to other classes (ERROR - ) - defines method in the receiver's scope (ERROR - ) - evaluates a given block in the context of self (ERROR - ) @@ 49394 @@ ) +Module#module_exec does not add defined methods to other classes ERROR NoMethodError: undefined method `class_exec' for FalseClass:Class /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/module/shared/class_exec.rb:3 /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 49423 @@ /home/chkbuild/tmp/build/ruby-1.8.6//mspec/bin/mspec-run:8 ) +Module#module_exec defines method in the receiver's scope ERROR NoMethodError: undefined method `module_exec' for ModuleSpecs::Subclass:Class /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/module/shared/class_exec.rb:12:in `send' /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/module/shared/class_exec.rb:12 @@ 49453 @@ /home/chkbuild/tmp/build/ruby-1.8.6//mspec/bin/mspec-run:8 ) +Module#module_exec evaluates a given block in the context of self ERROR NoMethodError: undefined method `module_exec' for ModuleSpecs::Subclass:Class /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/module/shared/class_exec.rb:17:in `send' /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/module/shared/class_exec.rb:17 @@ 49483 @@ /home/chkbuild/tmp/build/ruby-1.8.6//mspec/bin/mspec-run:8 ) +Module#module_exec raises an LocalJumpError when no block is given FAILED Expected LocalJumpError but got NoMethodError (undefined method `module_exec' for ModuleSpecs::Subclass:Class) /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' @@ 85076 @@ + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8.6//bin/ruby rubyspec/optional/capi/kernel_spec.rb ruby +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/optional/capi/kernel_spec.rb +C-API Kernel function rb_block_given_p +- returns false if no block is passed +- returns true if a block is passed +C-API Kernel function rb_need_block - raises a LocalJumpError if no block is given +- does not raise a LocalJumpError if a block is given +C-API Kernel function rb_raise +- raises an exception +- terminates the function at the point it was called +C-API Kernel function rb_throw +- sets the return value of the catch block to the specified value +- terminates the function at the point it was called - raises a NameError if there is no catch block for the symbol +C-API Kernel function rb_warn +- prints a message to $stderr if $VERBOSE evaluates to true +- prints a message to $stderr if $VERBOSE evaluates to false +C-API Kernel function rb_sys_fail +- raises an exception from the value of errno +- can take a NULL message +C-API Kernel function rb_yield +- yields passed argument +- returns the result from block evaluation +- raises LocalJumpError when no block is given +C-API Kernel function rb_yield_values +- yields passed arguments +- returns the result from block evaluation +- raises LocalJumpError when no block is given +C-API Kernel function rb_yield_splat +- yields with passed array's contents +- returns the result from block evaluation +- raises LocalJumpError when no block is given +C-API Kernel function rb_rescue +- executes passed function +- executes passed 'raise function' if a StandardError exception is raised +- passes the user supplied argument to the 'raise function' if a StandardError exception is raised +- passes the raised exception to the 'raise function' if a StandardError exception is raised +- raises an exception if passed function raises an exception other than StandardError +- raises an exception if any exception is raised inside 'raise function' +- makes $! available only during 'raise function' execution +C-API Kernel function rb_rescue2 +- only rescues if one of the passed exceptions is raised +C-API Kernel function rb_ensure +- executes passed function and returns its value +- executes passed 'ensure function' when no exception is raised +- executes passed 'ensure function' when an exception is raised +- raises the same exception raised inside passed function +C-API Kernel function rb_eval_string +- evaluates a string of ruby code +C-API Kernel function rb_block_proc +- converts the implicit block into a proc +C-API Kernel function rb_set_end_proc +- runs a C function on shutdown +C-API Kernel function rb_f_sprintf +- returns a string according to format and arguments Finished in seconds +1 file, 38 examples, expectations, 0 failures, 0 errors == rubyspec/optional/capi/marshal_spec.rb #