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

ruby-changes:4678

From: ko1@a...
Date: Wed, 23 Apr 2008 15:32:34 +0900 (JST)
Subject: [ruby-changes:4678] kazu - Ruby:r16172 (trunk): * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): failed

kazu	2008-04-23 15:32:16 +0900 (Wed, 23 Apr 2008)

  New Revision: 16172

  Modified files:
    trunk/ChangeLog
    trunk/test/gdbm/test_gdbm.rb

  Log:
    * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): failed
      notice moved from comment to assertion message. [ruby-dev:29127]


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16172&r2=16171&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/gdbm/test_gdbm.rb?r1=16172&r2=16171&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 16171)
+++ ChangeLog	(revision 16172)
@@ -1,3 +1,8 @@
+Wed Apr 23 15:28:52 2008  Kazuhiro NISHIYAMA  <zn@m...>
+
+	* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): failed
+	  notice moved from comment to assertion message. [ruby-dev:29127]
+
 Wed Apr 23 11:49:54 2008  Akinori MUSHA  <knu@i...>
 
 	* lib/set.rb (Set#each, SortedSet#each, TC_Set#test_each): Return
Index: test/gdbm/test_gdbm.rb
===================================================================
--- test/gdbm/test_gdbm.rb	(revision 16171)
+++ test/gdbm/test_gdbm.rb	(revision 16172)
@@ -92,8 +92,8 @@
       end
     end
     def test_s_open_no_create
-      # this test is failed on libgdbm 1.8.0
-      assert_nil(gdbm = GDBM.open("#{@tmpdir}/#{@prefix}", nil))
+      assert_nil(gdbm = GDBM.open("#{@tmpdir}/#{@prefix}", nil),
+                 "this test is failed on libgdbm 1.8.0")
     ensure
       gdbm.close if gdbm
     end

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

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