db.sqlite: Append layouts:cell to sqlite file test db name. Fixes #647.
parent
bcc86baf45
commit
bf4d4f73a2
|
@ -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 <sqlite-db> ;
|
||||
|
||||
[ ] [ [ db-path delete-file ] ignore-errors ] unit-test
|
||||
|
|
Loading…
Reference in New Issue