summaryrefslogtreecommitdiff
path: root/test/stringio
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-04 04:14:37 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-04 04:14:37 +0000
commit39802186b2135cce68882770aa36dc09ad6cb311 (patch)
treeec6dff1eef7ef8abf23cd7ae11252432b4d2eccb /test/stringio
parentd5e1b514f9113ac0f706bb46b8a20a1dd5ec7390 (diff)
* 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
Diffstat (limited to 'test/stringio')
-rw-r--r--test/stringio/test_stringio.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stringio/test_stringio.rb b/test/stringio/test_stringio.rb
index 6364768..30284fa 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"