summaryrefslogtreecommitdiff
path: root/test/ruby/test_lazy_enumerator.rb
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_lazy_enumerator.rb12
1 files changed, 12 insertions, 0 deletions
@@ -483,6 +483,18 @@ EOS
assert_equal Enumerator::Lazy, [].lazy.slice_when{}.class, bug7507
end
def test_no_warnings
le = (1..3).lazy
assert_warning("") {le.zip([4,5,6]).force}