diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-24 00:45:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-24 00:45:26 +0000 |
commit | 8a3d7236cd0faf0581172ba975c6455bcbb6728f (patch) | |
tree | c53d39aa6156fd48523f57e8a7089abb1f6d01b4 /test/ruby | |
parent | e9381c0559cc7c8b241db3eab46fd01b062acbad (diff) | |
download | ruby-8a3d7236cd0faf0581172ba975c6455bcbb6728f.tar.gz |
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')
-rw-r--r-- | test/ruby/test_argf.rb | 10 |
1 files changed, 0 insertions, 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 |