1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

suppress warning: assigned but unused variable - line

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2017-08-15 13:05:18 +00:00
parent 16565fa2d7
commit 1d88e7b5a6

View file

@ -83,7 +83,7 @@ class TestReadline < Test::Unit::TestCase
stdin.write("first second\t")
stdin.flush
Readline.completion_append_character = " "
line = replace_stdio(stdin.path, stdout.path) {
replace_stdio(stdin.path, stdout.path) {
Readline.readline("> ", false)
}
assert_equal("second", actual_text)