summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gdbm/test_gdbm.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb
index 715ca69620..117c73f713 100644
--- a/test/gdbm/test_gdbm.rb
+++ b/test/gdbm/test_gdbm.rb
@@ -92,8 +92,8 @@ if defined? GDBM
end
end
def test_s_open_no_create
- assert_nil(gdbm = GDBM.open("#{@tmpdir}/#{@prefix}", nil),
- "this test is failed on libgdbm 1.8.0")
+ skip "this test is failed on libgdbm 1.8.0" if /1\.8\./ =~ GDBM::VERSION
+ assert_nil(gdbm = GDBM.open("#{@tmpdir}/#{@prefix}", nil))
ensure
gdbm.close if gdbm
end