summary refs log tree commit diff stats
path: root/tests/caas/issue_452_export_shift.nim
diff options
context:
space:
mode:
authorGrzegorz Adam Hankiewicz <gradha@imap.cc>2013-06-10 23:06:49 +0200
committerGrzegorz Adam Hankiewicz <gradha@imap.cc>2013-06-10 23:06:49 +0200
commitb0ba4caf64a51af3b345fc22fe1595f34b93e8ed (patch)
treea7c3377bc8d047fca74d9ff0b331e483c2455ac0 /tests/caas/issue_452_export_shift.nim
parentc7a4412f8ae0edef821fa5d7e64cb200eb4a9830 (diff)
downloadNim-b0ba4caf64a51af3b345fc22fe1595f34b93e8ed.tar.gz
Renames test cases to be more human friendly.
Diffstat (limited to 'tests/caas/issue_452_export_shift.nim')
-rw-r--r--tests/caas/issue_452_export_shift.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/caas/issue_452_export_shift.nim b/tests/caas/issue_452_export_shift.nim
new file mode 100644
index 000000000..46cff6241
--- /dev/null
+++ b/tests/caas/issue_452_export_shift.nim
@@ -0,0 +1,8 @@
+const
+  VERSION_STR1* = "0.5.0" ## Idetools shifts this one column.
+  VERSION_STR2 = "0.5.0" ## This one is ok.
+  VERSION_STR3* = "0.5.0" ## Bad.
+  VERSION_STR4 = "0.5.0" ## Ok.
+
+proc forward1*(): string = result = ""
+proc forward2(): string = result = ""