summaryrefslogtreecommitdiff
path: root/test/gdbm
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-17 08:18:57 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-17 08:18:57 +0000
commit91596bb719416295e02513e6071fc83824cc81af (patch)
treed48d85b3a40222816dc1472d4d4c4aef9fe0fdb8 /test/gdbm
parentc80339d05f3eb4805849b7a95c0f6015f73127ff (diff)
Use assert(false) for the path that is expected unreachable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/gdbm')
-rw-r--r--test/gdbm/test_gdbm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb
index 7f7ab6aab9..39f87d7d8a 100644
--- a/test/gdbm/test_gdbm.rb
+++ b/test/gdbm/test_gdbm.rb
@@ -164,7 +164,7 @@ if defined? GDBM
open_db_child(dbname) do
assert_raise(Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::EACCES) {
GDBM.open(dbname, 0644) {|gdbm|
- assert_instance_of(GDBM, gdbm)
+ assert(false)
}
}
end