db.sqlite: Append layouts:cell to sqlite file test db name. Fixes #647.

db4
Doug Coleman 2012-08-26 00:09:31 -07:00
parent bcc86baf45
commit bf4d4f73a2
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
USING: io io.files io.files.temp io.directories io.launcher USING: io io.files io.files.temp io.directories io.launcher
kernel namespaces prettyprint tools.test db.sqlite db sequences kernel namespaces prettyprint tools.test db.sqlite db sequences
continuations db.types db.tuples unicode.case accessors arrays continuations db.types db.tuples unicode.case accessors arrays
sorting ; sorting layouts ;
IN: db.sqlite.tests 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 <sqlite-db> ; : test.db ( -- sqlite-db ) db-path <sqlite-db> ;
[ ] [ [ db-path delete-file ] ignore-errors ] unit-test [ ] [ [ db-path delete-file ] ignore-errors ] unit-test