Rubinius core/object_spec failures
----------------------------------
Key: JRUBY-1064
URL: http://jira.codehaus.org/browse/JRUBY-1064
Project: JRuby
Issue Type: Bug
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
{noformat}
1)
'Object instance method freeze should have no effect on immediate values' FAILED
expected false, got true (using ==)
./test/externals/rubinius/spec/core/object_spec.rb:80:
2)
'Object#instance_variable_get should raise ArgumentError if the instance
variable name is a Fixnum' FAILED
expected #<TypeError: 1 is not a symbol>, got ArgumentError (using ===)
/Users/headius/NetBeansProjects/jruby/./test/externals/rubinius/spec/core/../rspec_helper.rb:26:in
`should_raise'
./test/externals/rubinius/spec/core/object_spec.rb:241:
3)
'Object#instance_variable_get should raise NameError if the passed object, when
coerced with to_str, does not start with @' FAILED
expected #<TypeError: #<B:0xba2a53> is not a symbol>, got NameError (using ===)
/Users/headius/NetBeansProjects/jruby/./test/externals/rubinius/spec/core/../rspec_helper.rb:26:in
`should_raise'
./test/externals/rubinius/spec/core/object_spec.rb:255:
4)
TypeError in 'Object#instance_variable_get should accept as instance variable
name any instance of a class that responds to to_str'
#<C:0x4965e5 @a=1> is not a symbol
5)
'Object#instance_variable_set should raise ArgumentError if the instance
variable name is a Fixnum' FAILED
expected #<TypeError: 1 is not a symbol>, got ArgumentError (using ===)
/Users/headius/NetBeansProjects/jruby/./test/externals/rubinius/spec/core/../rspec_helper.rb:26:in
`should_raise'
./test/externals/rubinius/spec/core/object_spec.rb:277:
6)
'Object#instance_variable_set should raise NameError if the passed object, when
coerced with to_str, does not start with @' FAILED
expected #<TypeError: #<B:0xf278dd> is not a symbol>, got NameError (using ===)
/Users/headius/NetBeansProjects/jruby/./test/externals/rubinius/spec/core/../rspec_helper.rb:26:in
`should_raise'
./test/externals/rubinius/spec/core/object_spec.rb:291:
7)
TypeError in 'Object#instance_variable_set should accept as instance variable
name any instance of a class that responds to to_str'
#<C:0xe360a5 @a=1> is not a symbol
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email