summaryrefslogtreecommitdiffstats
path: root/test
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
commitd928d3e719ab35f95a1761ecddd594abbb73a3df (patch)
treeec6dff1eef7ef8abf23cd7ae11252432b4d2eccb /test
parentc7994db1dfe0f3aeed987d9f163d8aa2fe3daeeb (diff)
downloadruby-d928d3e719ab35f95a1761ecddd594abbb73a3df.tar.gz
ruby-d928d3e719ab35f95a1761ecddd594abbb73a3df.tar.xz
ruby-d928d3e719ab35f95a1761ecddd594abbb73a3df.zip
* 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
Diffstat (limited to 'test')
-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 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"