summaryrefslogtreecommitdiff
path: root/test/io/console
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-18 10:33:25 +0900
committergit <svn-admin@ruby-lang.org>2023-08-18 03:55:02 +0000
commit540cf43205262d8208516d4046caabfdae62a45a (patch)
treec1471908c494f632c501016f37d94fa212762fe8 /test/io/console
parent1bbce42964a29f86f28b51285bf976c4a28a1a9e (diff)
[ruby/io-console] Enable `getpass` methods always
https://github.com/ruby/io-console/commit/57f9649df4
Diffstat (limited to 'test/io/console')
-rw-r--r--test/io/console/test_io_console.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index 3f4b64bbcd..972b2e4cb4 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -241,7 +241,6 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do
end
def test_getpass
- omit unless IO.method_defined?("getpass")
run_pty("p IO.console.getpass('> ')") do |r, w|
assert_equal("> ", r.readpartial(10))
sleep 0.1