summary refs log tree commit diff stats
path: root/tests/stdlib/t15835.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/t15835.nim')
-rw-r--r--tests/stdlib/t15835.nim7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/stdlib/t15835.nim b/tests/stdlib/t15835.nim
index bddfa87aa..ba3405780 100644
--- a/tests/stdlib/t15835.nim
+++ b/tests/stdlib/t15835.nim
@@ -1,4 +1,9 @@
-import json
+discard """
+  targets: "c js"
+"""
+
+
+import std/json
 
 type
   Foo = object