summaryrefslogtreecommitdiff
path: root/test/test_prime.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_prime.rb')
-rw-r--r--test/test_prime.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_prime.rb b/test/test_prime.rb
index 9c793daca0..3e5997fcdf 100644
--- a/test/test_prime.rb
+++ b/test/test_prime.rb
@@ -74,7 +74,7 @@ class TestPrime < Test::Unit::TestCase
end
def test_new
- exception = assert_raise(NoMethodError) { Prime.new }
+ assert_raise(NoMethodError) { Prime.new }
end
def test_enumerator_succ