ruby-changes:22650
From: akr <ko1@a...>
Date: Sun, 19 Feb 2012 23:44:46 +0900 (JST)
Subject: [ruby-changes:22650] akr:r34699 (trunk): add a test.
akr 2012-02-19 23:44:36 +0900 (Sun, 19 Feb 2012) New Revision: 34699 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34699 Log: add a test. Modified files: trunk/test/dbm/test_dbm.rb Index: test/dbm/test_dbm.rb =================================================================== --- test/dbm/test_dbm.rb (revision 34698) +++ test/dbm/test_dbm.rb (revision 34699) @@ -574,6 +574,10 @@ FileUtils.remove_entry_secure @tmproot if File.directory?(@tmproot) end + def test_version + assert_instance_of(String, DBM::VERSION) + end + def test_reader_open_notexist assert_raise(Errno::ENOENT) { DBM.open("#{@tmproot}/a", 0666, DBM::READER) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/