gotools/internal/diffp/testdata/eof1.txt

-- old --
a
b
c
-- new --
a
b
c^D
-- diff --
diff old new
--- old
+++ new
@@ -1,3 +1,3 @@
 a
 b
-c
+c
\ No newline at end of file