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

ruby-changes:22450

From: naruse <ko1@a...>
Date: Thu, 9 Feb 2012 04:13:25 +0900 (JST)
Subject: [ruby-changes:22450] naruse:r34499 (trunk): * test/pathname/test_pathname.rb: not read but binread.

naruse	2012-02-09 04:13:14 +0900 (Thu, 09 Feb 2012)

  New Revision: 34499

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

  Log:
    * test/pathname/test_pathname.rb: not read but binread.
      patched by Benoit Daloze, [ruby-core:42440] [Bug #5984]

  Modified files:
    trunk/ChangeLog
    trunk/test/pathname/test_pathname.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34498)
+++ ChangeLog	(revision 34499)
@@ -1,3 +1,8 @@
+Thu Feb  9 04:12:29 2012  NARUSE, Yui  <naruse@r...>
+
+	* test/pathname/test_pathname.rb: not read but binread.
+	  patched by Benoit Daloze, [ruby-core:42440] [Bug #5984]
+
 Wed Feb  8 22:29:59 2012  Nobuyoshi Nakada  <nobu@r...>
 
 	* string.c (rb_str_modify_expand): fix memory leak.
Index: test/pathname/test_pathname.rb
===================================================================
--- test/pathname/test_pathname.rb	(revision 34498)
+++ test/pathname/test_pathname.rb	(revision 34499)
@@ -710,7 +710,7 @@
   def test_binread
     with_tmpchdir('rubytest-pathname') {|dir|
       open("a", "w") {|f| f.write "abc" }
-      assert_equal("abc", Pathname("a").read)
+      assert_equal("abc", Pathname("a").binread)
     }
   end
 

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

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