summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-30 13:18:17 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-30 13:18:17 +0000
commit5e6fc71d96cd3d8e7442307c4d9343c6c5468364 (patch)
treee2bc0744fc519b80319d4532a8d48a0c0c3507ef /test
parente0a264a9ef5f15e41f8109117d3372e69ae73181 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@16705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_argf.rb2
-rw-r--r--test/ruby/test_io.rb2
-rw-r--r--test/ruby/test_string.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb
index c2a1633a6d..8280e5e506 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 c04f216011..25ceb70be9 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 c71d3e5010..55cef9001e 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