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

ruby-changes:34611

From: nobu <ko1@a...>
Date: Fri, 4 Jul 2014 17:02:25 +0900 (JST)
Subject: [ruby-changes:34611] nobu:r46692 (trunk): test/unit.rb: newline after message

nobu	2014-07-04 17:00:41 +0900 (Fri, 04 Jul 2014)

  New Revision: 46692

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

  Log:
    test/unit.rb: newline after message
    
    * test/lib/test/unit.rb (deal): print a newline after an error
      message for unknown command not to overwritten by next messages.

  Modified files:
    trunk/test/lib/test/unit.rb
Index: test/lib/test/unit.rb
===================================================================
--- test/lib/test/unit.rb	(revision 46691)
+++ test/lib/test/unit.rb	(revision 46692)
@@ -576,7 +576,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit.rb#L576
             after_worker_down worker
           end
         else
-          print "unknown command: #{cmd.dump}"
+          print "unknown command: #{cmd.dump}\n"
         end
         return false
       end

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

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