summary refs log tree commit diff stats
path: root/tests/assert/tdoassert.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/assert/tdoassert.nim')
-rw-r--r--tests/assert/tdoassert.nim20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/assert/tdoassert.nim b/tests/assert/tdoassert.nim
deleted file mode 100644
index fa9893505..000000000
--- a/tests/assert/tdoassert.nim
+++ /dev/null
@@ -1,20 +0,0 @@
-discard """
-  cmd: "nim $target -d:release $options $file"
-  output: '''
-test1:ok
-test2:ok
-'''
-"""
-
-import testhelper
-
-onFailedAssert(msg):
-  checkMsg(msg, "tdoassert.nim(15, 9) `a == 2` foo", "test1")
-
-var a = 1
-doAssert(a == 2, "foo")
-
-onFailedAssert(msg):
-  checkMsg(msg, "tdoassert.nim(20, 10) `a == 3` ", "test2")
-
-doAssert a == 3