aboutsummaryrefslogtreecommitdiff
path: root/test/file_io
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-03-03 19:39:02 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2020-03-03 19:39:02 -0500
commitfceb1a37df623649d191c3c1a881e5b0538b1391 (patch)
tree87a34dfc2397dc4afdaa0c8ec189f037300f458e /test/file_io
parent1618f5017abb3c9bacc9ba346bf22a936ef5dd06 (diff)
downloadtextadept-fceb1a37df623649d191c3c1a881e5b0538b1391.tar.gz
textadept-fceb1a37df623649d191c3c1a881e5b0538b1391.zip
Added test suite and API type checking for more helpful error messages.
Diffstat (limited to 'test/file_io')
-rw-r--r--test/file_io/binarybin0 -> 65 bytes
-rw-r--r--test/file_io/cp12521
-rw-r--r--test/file_io/crlf3
-rw-r--r--test/file_io/lf3
-rw-r--r--test/file_io/utf16bin0 -> 90 bytes
-rw-r--r--test/file_io/utf81
6 files changed, 8 insertions, 0 deletions
diff --git a/test/file_io/binary b/test/file_io/binary
new file mode 100644
index 00000000..e4127eff
--- /dev/null
+++ b/test/file_io/binary
Binary files differ
diff --git a/test/file_io/cp1252 b/test/file_io/cp1252
new file mode 100644
index 00000000..9860f939
--- /dev/null
+++ b/test/file_io/cp1252
@@ -0,0 +1 @@
+Copyright © 2007-2020 Mitchell. See LICENSE.
diff --git a/test/file_io/crlf b/test/file_io/crlf
new file mode 100644
index 00000000..c4806e92
--- /dev/null
+++ b/test/file_io/crlf
@@ -0,0 +1,3 @@
+foo
+bar
+baz
diff --git a/test/file_io/lf b/test/file_io/lf
new file mode 100644
index 00000000..86e041da
--- /dev/null
+++ b/test/file_io/lf
@@ -0,0 +1,3 @@
+foo
+bar
+baz
diff --git a/test/file_io/utf16 b/test/file_io/utf16
new file mode 100644
index 00000000..8f935072
--- /dev/null
+++ b/test/file_io/utf16
Binary files differ
diff --git a/test/file_io/utf8 b/test/file_io/utf8
new file mode 100644
index 00000000..4278c33e
--- /dev/null
+++ b/test/file_io/utf8
@@ -0,0 +1 @@
+Copyright © 2007-2020 Mitchell. See LICENSE.