diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-27 06:55:06 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-27 06:55:06 +0000 |
| commit | cf9159afdd5151aec31a15ccf39e245b342933e4 (patch) | |
| tree | 88dfee59eac2e8a0e26a18f71e4333bfe2637820 /test/ruby | |
| parent | cc770ff4a600872c9a7e7a921bcf281561e6c329 (diff) | |
| download | ruby-cf9159afdd5151aec31a15ccf39e245b342933e4.tar.gz ruby-cf9159afdd5151aec31a15ccf39e245b342933e4.tar.xz ruby-cf9159afdd5151aec31a15ccf39e245b342933e4.zip | |
* io.c (argf_init): initial value of $. should be 0.
see [ruby-dev:36937].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_io.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 4d9bb51fe..4305293a3 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -812,7 +812,7 @@ class TestIO < Test::Unit::TestCase f.gets; p $. end SRC - assert_equal("nil,1,2,2,1001,1001,1001,1,2,3,3", f.read.chomp.gsub("\n", ",")) + assert_equal("0,1,2,2,1001,1001,1001,1,2,3,3", f.read.chomp.gsub("\n", ",")) end pipe(proc do |w| |
