diff options
Diffstat (limited to 'test/ruby/test_variable.rb')
-rw-r--r-- | test/ruby/test_variable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_variable.rb b/test/ruby/test_variable.rb index 53cd151585..5a0c7800bb 100644 --- a/test/ruby/test_variable.rb +++ b/test/ruby/test_variable.rb @@ -37,7 +37,7 @@ class TestVariable < Test::Unit::TestCase assert_instance_of(Fixnum, $$) # read-only variable - assert_raises(NameError) do + assert_raise(NameError) do $$ = 5 end |