summary refs log tree commit diff stats
path: root/tests/gc/growobjcrash.nim
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2020-12-27 12:46:21 -0600
committerGitHub <noreply@github.com>2020-12-27 19:46:21 +0100
commite718a4a058f9a9d0c9c8ce1d388040de7c14271d (patch)
tree03176e3dd81a4c9d246ec51f2f784f28edc9cce7 /tests/gc/growobjcrash.nim
parent792e4a0392519c7921a0afedb029d02b5485ca64 (diff)
downloadNim-e718a4a058f9a9d0c9c8ce1d388040de7c14271d.tar.gz
follow #15860 clean cgi module (#16487)
* follow #15860  clean cgi module

* follow #15860  clean cgi module
Diffstat (limited to 'tests/gc/growobjcrash.nim')
-rw-r--r--tests/gc/growobjcrash.nim7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/gc/growobjcrash.nim b/tests/gc/growobjcrash.nim
index 84fd30a4f..ff1aa7e98 100644
--- a/tests/gc/growobjcrash.nim
+++ b/tests/gc/growobjcrash.nim
@@ -1,8 +1,4 @@
-discard """
-  output: "works"
-"""
-
-import cgi, strtabs
+import std/[cgi, strtabs]
 
 proc handleRequest(query: string): StringTableRef =
   iterator foo(): StringTableRef {.closure.} =
@@ -26,4 +22,3 @@ proc main =
           quit "but now a leak"
 
 main()
-echo "works"