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

ruby-changes:41494

From: nobu <ko1@a...>
Date: Mon, 18 Jan 2016 01:11:22 +0900 (JST)
Subject: [ruby-changes:41494] nobu:r53568 (trunk): remove extra dot

nobu	2016-01-18 01:11:57 +0900 (Mon, 18 Jan 2016)

  New Revision: 53568

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

  Log:
    remove extra dot
    
    * test/lib/test/unit/assertions.rb (all_assertions): remove tail
      dot as it is added in message again.

  Modified files:
    trunk/test/lib/test/unit/assertions.rb
Index: test/lib/test/unit/assertions.rb
===================================================================
--- test/lib/test/unit/assertions.rb	(revision 53567)
+++ test/lib/test/unit/assertions.rb	(revision 53568)
@@ -814,7 +814,7 @@ eom https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit/assertions.rb#L814
         all = AllFailures.new
         yield all
       ensure
-        assert(all.pass?, message(msg) {all.message})
+        assert(all.pass?, message(msg) {all.message.chomp(".")})
       end
 
       def build_message(head, template=nil, *arguments) #:nodoc:

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

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