summary refs log tree commit diff stats
path: root/tests/stdlib/tmonotimes.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/tmonotimes.nim')
-rw-r--r--tests/stdlib/tmonotimes.nim8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/stdlib/tmonotimes.nim b/tests/stdlib/tmonotimes.nim
index cf25ef025..1366dbfe9 100644
--- a/tests/stdlib/tmonotimes.nim
+++ b/tests/stdlib/tmonotimes.nim
@@ -1,4 +1,10 @@
-import std/monotimes, times
+discard """
+  matrix: "--mm:refc; --mm:orc"
+  targets: "c js"
+"""
+
+import std/[monotimes, times]
+import std/assertions
 
 let d = initDuration(nanoseconds = 10)
 let t1 = getMonoTime()