]> granicus.if.org Git - php/commitdiff
expand test: see if another insert fails
authorMarcus Boerger <helly@php.net>
Thu, 7 Nov 2002 23:03:58 +0000 (23:03 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 7 Nov 2002 23:03:58 +0000 (23:03 +0000)
ext/db/tests/003.phpt

index d2351e24a5d8574ccf865d89703c7b2da4c4557e..6d3f7d3611fb3472953d55354f78f4bbb6242157 100644 (file)
@@ -8,6 +8,7 @@ DBM Insert/Replace/Fetch Test
        if (dbmopen($db_file, "n")) {
                dbminsert($db_file, "key1", "This is a test insert");
                dbmreplace($db_file, "key1", "This is the replacement text");
+               @dbminsert($db_file, "key1", "This is another replacement text?");
                $a = dbmfetch($db_file, "key1");
                dbmclose($db_file);
                echo $a;