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

ruby-changes:45430

From: kazu <ko1@a...>
Date: Thu, 2 Feb 2017 21:38:46 +0900 (JST)
Subject: [ruby-changes:45430] kazu:r57503 (trunk): Add class name to assert messages

kazu	2017-02-02 21:38:41 +0900 (Thu, 02 Feb 2017)

  New Revision: 57503

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

  Log:
    Add class name to assert messages

  Modified files:
    trunk/test/ruby/test_io.rb
Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 57502)
+++ test/ruby/test_io.rb	(revision 57503)
@@ -3520,8 +3520,8 @@ __END__ https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L3520
           assert_equal before, after,
             'no strings left over after write [ruby-core:78898] [Bug #13085]'
           assert_not_predicate buf, :frozen?, 'no inadvertant freeze'
-          assert_equal buf.bytesize, n, 'write wrote expected size'
-          assert_equal s, n, 'syswrite wrote expected size'
+          assert_equal buf.bytesize, n, 'IO#write wrote expected size'
+          assert_equal s, n, 'IO#syswrite wrote expected size'
         end
       end
     end

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

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