summaryrefslogtreecommitdiff
path: root/tests/database.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/database.scm')
-rw-r--r--tests/database.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/database.scm b/tests/database.scm
index d9dfe13..271f166 100644
--- a/tests/database.scm
+++ b/tests/database.scm
@@ -87,7 +87,7 @@
(test-assert "db-init"
(begin
(%db (db-init database-name))
- (%db-channel (make-critical-section (%db)))
+ (%db-channel (make-worker-thread-channel (%db)))
#t))
(test-assert "sqlite-exec"