summaryrefslogtreecommitdiff
path: root/Omni/Task.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Task.hs')
-rw-r--r--Omni/Task.hs7
1 files changed, 1 insertions, 6 deletions
diff --git a/Omni/Task.hs b/Omni/Task.hs
index 85314ad..13fc63c 100644
--- a/Omni/Task.hs
+++ b/Omni/Task.hs
@@ -400,7 +400,7 @@ unitTests =
setEnv "TASK_TEST_MODE" "1"
-- Clean up test database before all tests
- let testFile = ".tasks/tasks-test.jsonl"
+ let testFile = ".tasks/tasks-test.db"
exists <- doesFileExist testFile
when exists <| removeFile testFile
initTaskDb
@@ -774,11 +774,6 @@ cliTests =
Right args -> do
args `Cli.has` Cli.command "show" Test.@?= True
args `Cli.has` Cli.longOption "json" Test.@?= True,
- Test.unit "sync command" <| do
- let result = Docopt.parseArgs help ["sync"]
- case result of
- Left err -> Test.assertFailure <| "Failed to parse 'sync': " <> show err
- Right args -> args `Cli.has` Cli.command "sync" Test.@?= True,
Test.unit "stats command" <| do
let result = Docopt.parseArgs help ["stats"]
case result of