diff options
Diffstat (limited to 'test/test_prime.rb')
-rw-r--r-- | test/test_prime.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_prime.rb b/test/test_prime.rb index 48322a5ebc..cdb6f8930e 100644 --- a/test/test_prime.rb +++ b/test/test_prime.rb @@ -64,7 +64,7 @@ class TestPrime < Test::Unit::TestCase end def test_new - exception = assert_raises(NoMethodError) { Prime.new } + exception = assert_raise(NoMethodError) { Prime.new } end def test_enumerator_succ |