aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-08-19 03:10:15 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-08-19 03:29:11 +0200
commit8d0d30d949b2dbd3ce762458e1c6676487e4da26 (patch)
tree6f029a110123caf01c5dd444e12685d02357ce4f /tests/testsuite.at
parent61ff6e97c57f62ee3ad4ffc2166e433bc060e7cb (diff)
downloadsciteco-8d0d30d949b2dbd3ce762458e1c6676487e4da26.tar.gz
added test group for SciTECO's EOL normalisation feature
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index b43f874..81a770c 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -1,5 +1,12 @@
AT_INIT
+AT_COLOR_TESTS
AT_SETUP([Closing loops at the correct macro level])
AT_CHECK([$SCITECO -e '@^Ua{>} <Ma'], 1, ignore, ignore)
AT_CLEANUP
+
+AT_SETUP([Automatic EOL normalization])
+AT_CHECK([$SCITECO -e "@EB'${srcdir}/autoeol-input.txt' EL-2\"N/0' 2LR 13@I'' 0EL @EW'autoeol-sciteco.txt'"],
+ 0, ignore, ignore)
+AT_CHECK([cmp -b autoeol-sciteco.txt ${srcdir}/autoeol-output.txt], 0, ignore, ignore)
+AT_CLEANUP