diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-18 09:52:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-18 09:52:50 +0000 |
commit | c20aae965e2e79fcf4c443b266f7012157d5b23b (patch) | |
tree | 3b1e6cbcd51d732d05bfd3273c0024c8a9658369 /basictest | |
parent | 17aeff3e77e6fe0d37a9943dd93bcb16c4bb9f66 (diff) | |
download | ruby-c20aae965e2e79fcf4c443b266f7012157d5b23b.tar.gz |
Prefer block_given? to iterator?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'basictest')
-rwxr-xr-x | basictest/test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/basictest/test.rb b/basictest/test.rb index 25d52ca1ef..5760a139b8 100755 --- a/basictest/test.rb +++ b/basictest/test.rb @@ -984,13 +984,6 @@ test_ok($z == 0) test_check "iterator" -test_ok(!iterator?) - -def ttt - test_ok(iterator?) -end -ttt{} - # yield at top level test_ok(!defined?(yield)) |