summary refs log tree commit diff stats
path: root/tests/accept/run/toprprec.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-02-20 20:12:22 +0100
committerAraq <rumpf_a@web.de>2011-02-20 20:12:22 +0100
commit2cdfe35e737291e65060e2f954d718316a969048 (patch)
treea39553bd397311c4601dde11be37c50ad99d81ab /tests/accept/run/toprprec.nim
parentcbee9c4e1a1252e6c809d25a0ef371ddee3fc802 (diff)
downloadNim-2cdfe35e737291e65060e2f954d718316a969048.tar.gz
tests themselves contain the expected result
Diffstat (limited to 'tests/accept/run/toprprec.nim')
-rwxr-xr-xtests/accept/run/toprprec.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/accept/run/toprprec.nim b/tests/accept/run/toprprec.nim
index 4728b2e68..17ec91fda 100755
--- a/tests/accept/run/toprprec.nim
+++ b/tests/accept/run/toprprec.nim
@@ -1,3 +1,7 @@
+discard """
+  file: "toprprec.nim"
+  output: "done"
+"""
 # Test operator precedence: 
 
 assert 3+5*5-2 == 28- -26-28
@@ -10,3 +14,5 @@ assert 34 ^- 6 ^- 2 == 30
 assert 34 - 6 - 2 == 26
 echo "done"
 
+
+