aboutsummaryrefslogtreecommitdiff
path: root/test/truncation
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-10-23 02:08:13 +0200
committerJohn Ankarström <john@ankarstrom.se>2020-10-23 02:08:13 +0200
commit24da48a86bb542be247127258db5fcafab4ba011 (patch)
tree30e7b826df0d52ae9f5b3b0c779c460b076d2043 /test/truncation
parent73bcdd66f3b4ce183bf8b9b0b5784830189c37f5 (diff)
downloadtt-24da48a86bb542be247127258db5fcafab4ba011.tar.gz
release 1.1
Diffstat (limited to 'test/truncation')
-rw-r--r--test/truncation/EXP=test.txt3
-rw-r--r--test/truncation/OUT=test.txt3
-rw-r--r--test/truncation/build.bat4
-rw-r--r--test/truncation/in.txt7
-rw-r--r--test/truncation/test.txt3
5 files changed, 20 insertions, 0 deletions
diff --git a/test/truncation/EXP=test.txt b/test/truncation/EXP=test.txt
new file mode 100644
index 0000000..35a7d8e
--- /dev/null
+++ b/test/truncation/EXP=test.txt
@@ -0,0 +1,3 @@
+long
+
+far
diff --git a/test/truncation/OUT=test.txt b/test/truncation/OUT=test.txt
new file mode 100644
index 0000000..35a7d8e
--- /dev/null
+++ b/test/truncation/OUT=test.txt
@@ -0,0 +1,3 @@
+long
+
+far
diff --git a/test/truncation/build.bat b/test/truncation/build.bat
new file mode 100644
index 0000000..2253752
--- /dev/null
+++ b/test/truncation/build.bat
@@ -0,0 +1,4 @@
+@echo off
+setlocal
+cd /d %~dp0
+..\..\tt -oOUT= test.txt < in.txt \ No newline at end of file
diff --git a/test/truncation/in.txt b/test/truncation/in.txt
new file mode 100644
index 0000000..99a0f74
--- /dev/null
+++ b/test/truncation/in.txt
@@ -0,0 +1,7 @@
+-> loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong
+
+ long
+
+-> faaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+
+ far \ No newline at end of file
diff --git a/test/truncation/test.txt b/test/truncation/test.txt
new file mode 100644
index 0000000..6c2c776
--- /dev/null
+++ b/test/truncation/test.txt
@@ -0,0 +1,3 @@
+<<loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooon>>
+
+<<faaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar>> \ No newline at end of file