From d928d3e719ab35f95a1761ecddd594abbb73a3df Mon Sep 17 00:00:00 2001 From: nahi Date: Fri, 4 Dec 2009 04:14:37 +0000 Subject: * ext/stringio/stringio.c (ungetc): RDoc updated. trunk allows pushing back behind the beginning of the pseudo stream. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/stringio/test_stringio.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/stringio') diff --git a/test/stringio/test_stringio.rb b/test/stringio/test_stringio.rb index 63647683c..30284faee 100644 --- a/test/stringio/test_stringio.rb +++ b/test/stringio/test_stringio.rb @@ -327,7 +327,7 @@ class TestStringIO < Test::Unit::TestCase s = "1234" f = StringIO.new(s, "r") assert_nothing_raised { f.ungetc("x") } - assert_equal("x", f.getc) # bug? + assert_equal("x", f.getc) # bug? -> it's a feature from 1.9. assert_equal("1", f.getc) s = "1234" -- cgit