summary refs log tree commit diff stats
path: root/tests/async/t7985.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/async/t7985.nim')
-rw-r--r--tests/async/t7985.nim19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/async/t7985.nim b/tests/async/t7985.nim
deleted file mode 100644
index 0365499d3..000000000
--- a/tests/async/t7985.nim
+++ /dev/null
@@ -1,19 +0,0 @@
-discard """
-  file: "t7985.nim"
-  exitcode: 0
-  output: "(value: 1)"
-"""
-import json, asyncdispatch
-
-proc getData(): Future[JsonNode] {.async.} =
-  result = %*{"value": 1}
-
-type
-  MyData = object
-    value: BiggestInt
-
-proc main() {.async.} =
-  let data = to(await(getData()), MyData)
-  echo data
-
-waitFor(main())