diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-22 13:01:17 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-22 13:01:17 +0000 |
commit | 9d091c851a6029ac477ecde30766b2d25bad637b (patch) | |
tree | 1f1a3d52319892b094e42c639bd7fd20b07bed71 /sample | |
parent | 234a30459cdae6aa7da6e28a1082d9c11f315696 (diff) |
sample/timeout.rb: Remove unnecessary increment [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r-- | sample/timeout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/timeout.rb b/sample/timeout.rb index 3291ae7e80..ad4459aff0 100644 --- a/sample/timeout.rb +++ b/sample/timeout.rb @@ -1,7 +1,7 @@ require 'timeout' def progress(n = 5) - n.times {|i| print i; STDOUT.flush; sleep 1; i+= 1} + n.times {|i| print i; STDOUT.flush; sleep 1} puts "never reach" end |