From 39802186b2135cce68882770aa36dc09ad6cb311 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: svn+ssh://ci.ruby-lang.org/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 63647683ca..30284faee2 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 v1.2.3