From fceb1a37df623649d191c3c1a881e5b0538b1391 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 3 Mar 2020 19:39:02 -0500 Subject: Added test suite and API type checking for more helpful error messages. --- test/file_io/binary | Bin 0 -> 65 bytes test/file_io/cp1252 | 1 + test/file_io/crlf | 3 +++ test/file_io/lf | 3 +++ test/file_io/utf16 | Bin 0 -> 90 bytes test/file_io/utf8 | 1 + 6 files changed, 8 insertions(+) create mode 100644 test/file_io/binary create mode 100644 test/file_io/cp1252 create mode 100644 test/file_io/crlf create mode 100644 test/file_io/lf create mode 100644 test/file_io/utf16 create mode 100644 test/file_io/utf8 (limited to 'test/file_io') diff --git a/test/file_io/binary b/test/file_io/binary new file mode 100644 index 00000000..e4127eff Binary files /dev/null and b/test/file_io/binary 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 Binary files /dev/null and b/test/file_io/utf16 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. -- cgit v1.2.3