1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
mame 2008-05-30 13:18:17 +00:00
parent e0a264a9ef
commit 5e6fc71d96
4 changed files with 11 additions and 3 deletions

View file

@ -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]).

View file

@ -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

View file

@ -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)

View file

@ -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