diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-30 13:18:17 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-30 13:18:17 +0000 |
commit | 0fed6e69c31b7759d74da2db74416dae83e14b93 (patch) | |
tree | e2bc0744fc519b80319d4532a8d48a0c0c3507ef | |
parent | 15bf482329eba1034346f302bb6f8b401fe927da (diff) | |
download | ruby-0fed6e69c31b7759d74da2db74416dae83e14b93.tar.gz ruby-0fed6e69c31b7759d74da2db74416dae83e14b93.tar.xz ruby-0fed6e69c31b7759d74da2db74416dae83e14b93.zip |
* test/ruby/test_argf.rb: rename a conflicting method name.
* test/ruby/test_string.rb: ditto.
* test/ruby/test_io.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | test/ruby/test_argf.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_io.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_string.rb | 2 |
4 files changed, 11 insertions, 3 deletions
@@ -1,3 +1,11 @@ +Fri May 30 22:17:39 2008 Yusuke Endoh <mame@tsg.ne.jp> + + * test/ruby/test_argf.rb: rename a conflicting method name. + + * test/ruby/test_string.rb: ditto. + + * test/ruby/test_io.rb: ditto. + Fri May 30 22:14:37 2008 Yusuke Endoh <mame@tsg.ne.jp> * compile.c (defined_expr): fix SEGV by defined?([1]). diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb index c2a1633a6..8280e5e50 100644 --- a/test/ruby/test_argf.rb +++ b/test/ruby/test_argf.rb @@ -93,7 +93,7 @@ class TestArgf < Test::Unit::TestCase end end - def test_lineno + def test_lineno2 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f| a = ARGF.dup a.gets; p $. #=> 1 diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index c04f21601..25ceb70be 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -593,7 +593,7 @@ class TestIO < Test::Unit::TestCase assert_equal(nil, IO.try_convert("STDOUT")) end - def test_ungetc + def test_ungetc2 pipe do |r, w| r.ungetc("0" * 10000) w.write("1" * 10000) diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index c71d3e501..55cef9001 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -1587,7 +1587,7 @@ class TestString < Test::Unit::TestCase assert("abc".end_with?("c")) end - def test_times + def test_times2 s1 = '' 100.times {|n| s2 = "a" * n |