summaryrefslogtreecommitdiff
path: root/test/ruby/test_argf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-24 00:45:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-24 00:45:26 +0000
commit8a3d7236cd0faf0581172ba975c6455bcbb6728f (patch)
treec53d39aa6156fd48523f57e8a7089abb1f6d01b4 /test/ruby/test_argf.rb
parente9381c0559cc7c8b241db3eab46fd01b062acbad (diff)
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
Diffstat (limited to 'test/ruby/test_argf.rb')
-rw-r--r--test/ruby/test_argf.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb
index 8243a6ed861..1bccac0ffa1 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