[前][次][番号順一覧][スレッド一覧]

ruby-changes:40922

From: nobu <ko1@a...>
Date: Wed, 9 Dec 2015 20:54:18 +0900 (JST)
Subject: [ruby-changes:40922] nobu:r53001 (trunk): test_io_console.rb: skip

nobu	2015-12-09 20:53:52 +0900 (Wed, 09 Dec 2015)

  New Revision: 53001

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53001

  Log:
    test_io_console.rb: skip
    
    * test/io/console/test_io_console.rb (test_getpass): skip for the
      time being.

  Modified files:
    trunk/test/io/console/test_io_console.rb
Index: test/io/console/test_io_console.rb
===================================================================
--- test/io/console/test_io_console.rb	(revision 53000)
+++ test/io/console/test_io_console.rb	(revision 53001)
@@ -181,6 +181,7 @@ class TestIO_Console < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L181
   end
 
   def test_getpass
+    skip unless /\bIO\#getpass\b/ =~ ENV["RUBY_TESTS"]
     skip unless IO.method_defined?("getpass")
     run_pty("p IO.console.getpass('> ')") do |r, w|
       assert_equal("> ", r.readpartial(10))

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]