mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 10:03:59 +02:00
merges r29188 from trunk into ruby_1_9_2.
-- * ext/readline/readline.c (readline_s_get_line_buffer): Readline.line_buffer should return locale string. [ruby-dev:42184] #3791 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
62dcfe959f
commit
13fdd22f20
4 changed files with 10 additions and 2 deletions
|
@ -153,6 +153,8 @@ class TestReadline < Test::Unit::TestCase
|
|||
assert_equal("first second", actual_line_buffer)
|
||||
assert_equal(12, actual_point)
|
||||
assert_equal("first complete finish", Readline.line_buffer)
|
||||
assert_equal(Encoding.find("locale"), Readline.line_buffer.encoding)
|
||||
assert_equal(true, Readline.line_buffer.tainted?)
|
||||
assert_equal(21, Readline.point)
|
||||
ensure
|
||||
stdin.close(true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue