aboutsummaryrefslogtreecommitdiff
path: root/test/truncation
diff options
context:
space:
mode:
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