From 8a3d7236cd0faf0581172ba975c6455bcbb6728f Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 24 Dec 2012 00:45:26 +0000 Subject: [PATCH] test_argf.rb: duplicated test * test/ruby/test_argf.rb (TestArgf#test_lines): remove duplicated test whose content is test_bytes actually. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_argf.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb index 8243a6ed86..1bccac0ffa 100644 --- a/test/ruby/test_argf.rb +++ b/test/ruby/test_argf.rb @@ -783,16 +783,6 @@ class TestArgf < Test::Unit::TestCase end end - def test_lines - ruby('-W1', '-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f| - $stderr = $stdout - print Marshal.dump(ARGF.bytes.to_a) - SRC - assert_match(/deprecated/, f.gets) - assert_equal([49, 10, 50, 10, 51, 10, 52, 10, 53, 10, 54, 10], Marshal.load(f.read)) - end - end - def test_bytes ruby('-W1', '-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f| $stderr = $stdout