From bf4d4f73a25086a5e07319e09a3771cb4038faa0 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sun, 26 Aug 2012 00:09:31 -0700 Subject: [PATCH] db.sqlite: Append layouts:cell to sqlite file test db name. Fixes #647. --- basis/db/sqlite/sqlite-tests.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basis/db/sqlite/sqlite-tests.factor b/basis/db/sqlite/sqlite-tests.factor index b6e756a3dd..8802a112bd 100644 --- a/basis/db/sqlite/sqlite-tests.factor +++ b/basis/db/sqlite/sqlite-tests.factor @@ -1,10 +1,10 @@ USING: io io.files io.files.temp io.directories io.launcher kernel namespaces prettyprint tools.test db.sqlite db sequences continuations db.types db.tuples unicode.case accessors arrays -sorting ; +sorting layouts ; IN: db.sqlite.tests -: db-path ( -- path ) "test.db" temp-file ; +: db-path ( -- path ) "test-" cell number>string ".db" 3append temp-file ; : test.db ( -- sqlite-db ) db-path ; [ ] [ [ db-path delete-file ] ignore-errors ] unit-test