aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite.at9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 0ae9e0c..ae90b72 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -193,6 +193,15 @@ TE_CHECK([[@^A/TEST^JLine 2/]], 0, stdout, ignore)
AT_FAIL_IF([test `$GREP -v "^Info:" stdout | wc -l` -ne 2], 0, ignore, ignore)
AT_CLEANUP
+AT_SETUP([Type out buffer contents])
+AT_DATA([test.txt], [[Line 1
+Line 2
+Line 3
+]])
+TE_CHECK([[@EB'test.txt' 2T]], 0, stdout, ignore)
+AT_FAIL_IF([test `$GREP -v "^Info:" stdout | wc -l` -ne 2], 0, ignore, ignore)
+AT_CLEANUP
+
AT_SETUP([Convert between line and glyph positions])
TE_CHECK([[@I/1^J2^J3/J 2^QC :^Q-3"N(0/0)']], 0, ignore, ignore)
AT_CLEANUP