summary refs log tree commit diff stats
path: root/tests/stdlib/toptions.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-09-28 02:06:23 +0800
committerGitHub <noreply@github.com>2022-09-27 20:06:23 +0200
commit3d2f0e2c7ce73299e57f2ebd5ee52822c3543554 (patch)
treed4f959d7d3bf15e959fe37af8826f866cf23f75e /tests/stdlib/toptions.nim
parent98a717dda92ff45dc14818815ddc53764339066b (diff)
downloadNim-3d2f0e2c7ce73299e57f2ebd5ee52822c3543554.tar.gz
make more standard libraries work with `nimPreviewSlimSystem` (#20343)
* make more standard libraries work with `nimPreviewSlimSystem`

* typo

* part two

* Delete specutils.nim

* fixes more tests

* more fixes

* fixes tests

* fixes three more tests

* add formatfloat import

* fix

* last
Diffstat (limited to 'tests/stdlib/toptions.nim')
-rw-r--r--tests/stdlib/toptions.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stdlib/toptions.nim b/tests/stdlib/toptions.nim
index 633be6c04..6065425b9 100644
--- a/tests/stdlib/toptions.nim
+++ b/tests/stdlib/toptions.nim
@@ -4,8 +4,8 @@ discard """
 
 import std/[json, options]
 
-when defined(nimPreviewSlimSystem):
-  import std/objectdollar
+import std/assertions
+import std/objectdollar
 
 
 # RefPerson is used to test that overloaded `==` operator is not called by