summaryrefslogtreecommitdiff
path: root/test/test_prime.rb
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-22 16:19:12 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-22 16:19:12 +0000
commitfe378f03f7ff18abecb8dc9e1daf957de816e39f (patch)
treed959928614fcb8959a9437ca233ac23139aaa6e2 /test/test_prime.rb
parent27ed9f1d290a6ff6b788976ea7139c608920ee1e (diff)
test/test_prime.rb: update method name in comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 7f15894abf..fc769c54d7 100644
--- a/test/test_prime.rb
+++ b/test/test_prime.rb
@@ -175,7 +175,7 @@ class TestPrime < Test::Unit::TestCase
sieve = Prime::EratosthenesSieve.instance
sieve.send(:initialize)
begin
- # simulates that Timeout.timeout interrupts Prime::EratosthenesSieve#extend_table
+ # simulates that Timeout.timeout interrupts Prime::EratosthenesSieve#compute_primes
def sieve.Integer(n)
n = super(n)
sleep 10 if /compute_primes/ =~ caller.first