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

ruby-changes:40832

From: naruse <ko1@a...>
Date: Mon, 7 Dec 2015 12:12:14 +0900 (JST)
Subject: [ruby-changes:40832] naruse:r52911 (trunk): temporally remove prompt to pass the test

naruse	2015-12-07 12:11:53 +0900 (Mon, 07 Dec 2015)

  New Revision: 52911

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

  Log:
    temporally remove prompt to pass the test

  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 52910)
+++ test/io/console/test_io_console.rb	(revision 52911)
@@ -187,7 +187,7 @@ class TestIO_Console < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L187
         sleep 0.1
         s.print "asdf\n"
       }
-      assert_equal("asdf", m.getpass("> "))
+      assert_equal("asdf", m.getpass)
       assert_equal("\n", s.readpartial(2))
       th.join
     }

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

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