aboutsummaryrefslogtreecommitdiffstats
path: root/basictest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-18 09:52:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-18 09:52:50 +0000
commitc20aae965e2e79fcf4c443b266f7012157d5b23b (patch)
tree3b1e6cbcd51d732d05bfd3273c0024c8a9658369 /basictest
parent17aeff3e77e6fe0d37a9943dd93bcb16c4bb9f66 (diff)
downloadruby-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-xbasictest/test.rb7
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))