summary refs log tree commit diff stats
path: root/tests/stdlib/toptions.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/toptions.nim')
-rw-r--r--tests/stdlib/toptions.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/stdlib/toptions.nim b/tests/stdlib/toptions.nim
index 71c52a07e..633be6c04 100644
--- a/tests/stdlib/toptions.nim
+++ b/tests/stdlib/toptions.nim
@@ -4,6 +4,9 @@ discard """
 
 import std/[json, options]
 
+when defined(nimPreviewSlimSystem):
+  import std/objectdollar
+
 
 # RefPerson is used to test that overloaded `==` operator is not called by
 # options. It is defined here in the global scope, because otherwise the test