]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/gdbm/gdbm-tests.factor
io.files: exists? -> file-exists? and rename primitive.
[factor.git] / extra / gdbm / gdbm-tests.factor
index f6782a35e8d74497ea301c68f9ee451eb06f04a1..1f6fea7508bc2ff45a7d92d791bde5606eb64133 100644 (file)
@@ -18,7 +18,7 @@ CLEANUP
     test.db reader >>role [ ] with-gdbm
 ] [ gdbm-file-open-error = ] must-fail-with
 
-{ f } [ [ "foo" exists? ] with-test.db ] unit-test
+{ f } [ [ "foo" file-exists? ] with-test.db ] unit-test
 
 { } [ [ "foo" 41 insert ] with-test.db ] unit-test
 
@@ -57,7 +57,7 @@ os macosx? [
 
 { f }
 [
-    test.db newdb >>role [ "foo" exists? ] with-gdbm
+    test.db newdb >>role [ "foo" file-exists? ] with-gdbm
 ] unit-test
 
 CLEANUP