aboutsummaryrefslogtreecommitdiff
path: root/test/no-final-newline
diff options
context:
space:
mode:
Diffstat (limited to 'test/no-final-newline')
-rw-r--r--test/no-final-newline/EXP=test.txt5
-rw-r--r--test/no-final-newline/OUT=test.txt5
-rw-r--r--test/no-final-newline/build.bat4
-rw-r--r--test/no-final-newline/in.txt7
-rw-r--r--test/no-final-newline/test.txt5
5 files changed, 26 insertions, 0 deletions
diff --git a/test/no-final-newline/EXP=test.txt b/test/no-final-newline/EXP=test.txt
new file mode 100644
index 0000000..82a2490
--- /dev/null
+++ b/test/no-final-newline/EXP=test.txt
@@ -0,0 +1,5 @@
+at top
+
+---
+
+at bottom
diff --git a/test/no-final-newline/OUT=test.txt b/test/no-final-newline/OUT=test.txt
new file mode 100644
index 0000000..82a2490
--- /dev/null
+++ b/test/no-final-newline/OUT=test.txt
@@ -0,0 +1,5 @@
+at top
+
+---
+
+at bottom
diff --git a/test/no-final-newline/build.bat b/test/no-final-newline/build.bat
new file mode 100644
index 0000000..2253752
--- /dev/null
+++ b/test/no-final-newline/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/no-final-newline/in.txt b/test/no-final-newline/in.txt
new file mode 100644
index 0000000..9fe42fa
--- /dev/null
+++ b/test/no-final-newline/in.txt
@@ -0,0 +1,7 @@
+-> top
+
+ at top
+
+-> bottom
+
+ at bottom \ No newline at end of file
diff --git a/test/no-final-newline/test.txt b/test/no-final-newline/test.txt
new file mode 100644
index 0000000..3152f74
--- /dev/null
+++ b/test/no-final-newline/test.txt
@@ -0,0 +1,5 @@
+<<top>>
+
+---
+
+<<bottom>> \ No newline at end of file