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

ruby-changes:29437

From: nobu <ko1@a...>
Date: Thu, 20 Jun 2013 18:18:46 +0900 (JST)
Subject: [ruby-changes:29437] nobu:r41489 (trunk): test_sdbm.rb: only if SDBM

nobu	2013-06-20 18:18:36 +0900 (Thu, 20 Jun 2013)

  New Revision: 41489

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

  Log:
    test_sdbm.rb: only if SDBM
    
    * test/sdbm/test_sdbm.rb (TestSDBM): test only if SDBM is loadable.

  Modified files:
    trunk/test/sdbm/test_sdbm.rb

Index: test/sdbm/test_sdbm.rb
===================================================================
--- test/sdbm/test_sdbm.rb	(revision 41488)
+++ test/sdbm/test_sdbm.rb	(revision 41489)
@@ -538,5 +538,5 @@ class TestSDBM < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/sdbm/test_sdbm.rb#L538
     end
     assert_raise(ArgumentError) { @sdbm.update(obj) }
   end
-end
+end if defined? SDBM
 

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

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