From eb6f7a82045ad78553fca98c54a51366c55bd7a4 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 26 Jul 2025 00:37:43 +0300 Subject: implemented the (typeout) command for printing to the terminal from the current buffer * refactored some code that is common with Xq into teco_get_range_args(). --- tests/testsuite.at | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3