diff tests/test_storage.nim @ 1423:3b8a736c45a7

did: put almost all global state into a single struct
author sam <sam@basx.dev>
date Thu, 09 Jan 2025 23:03:47 +0700
parents df3c075e5dea
children 676fc13685a9
line wrap: on
line diff
--- a/tests/test_storage.nim	Thu Jan 09 01:03:06 2025 +0700
+++ b/tests/test_storage.nim	Thu Jan 09 23:03:47 2025 +0700
@@ -20,6 +20,7 @@
     assert storage.load(key, 0) == i
 
 proc main() =
+  initEngine("Test storage")
   SystemStorage.purge()
   echo "SystemStorage: Testing simple store/load"
   SystemStorage.testSimple()