test_io_console.rb: skip
* test/io/console/test_io_console.rb (test_getpass): skip for the time being. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
040a83d83e
commit
ac5c2218ee
@ -181,6 +181,7 @@ class TestIO_Console < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_getpass
|
def test_getpass
|
||||||
|
skip unless /\bIO\#getpass\b/ =~ ENV["RUBY_TESTS"]
|
||||||
skip unless IO.method_defined?("getpass")
|
skip unless IO.method_defined?("getpass")
|
||||||
run_pty("p IO.console.getpass('> ')") do |r, w|
|
run_pty("p IO.console.getpass('> ')") do |r, w|
|
||||||
assert_equal("> ", r.readpartial(10))
|
assert_equal("> ", r.readpartial(10))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user