Change test files for ``enumFile`` to be ASCII, instead of UTF8. GHC's
handling of Unicode input is too inconsistent across OSes, and causes
noise in the automated tests.
diff --git a/enumerator.cabal b/enumerator.cabal
index 8ddcff4..b1c1179 100644
--- a/enumerator.cabal
+++ b/enumerator.cabal
@@ -67,8 +67,8 @@
   scripts/run-tests
   --
   tests/enumerator-tests.cabal
-  tests/data/utf8-crlf.txt
-  tests/data/utf8-lf.txt
+  tests/data/ascii-crlf.txt
+  tests/data/ascii-lf.txt
   tests/EnumeratorTests.hs
   tests/EnumeratorTests/Binary.hs
   tests/EnumeratorTests/Binary/Consume.hs
diff --git a/tests/EnumeratorTests/Text/Handle.hs b/tests/EnumeratorTests/Text/Handle.hs
index a612a65..9b18961 100644
--- a/tests/EnumeratorTests/Text/Handle.hs
+++ b/tests/EnumeratorTests/Text/Handle.hs
@@ -64,30 +64,10 @@
 #endif
 
 lines_LF :: [Text]
-lines_LF =
-	[ "hello world\n"
-	, "\n"
-	, "\20320\22909\19990\30028\n"
-	, "\n"
-	, "\1605\1585\1581\1576\1575 \1575\1604\1593\1575\1604\1605\n"
-	, "\n"
-	, "\12371\12435\12395\12385\12399\19990\30028\n"
-	, "\n"
-	, "\2997\2979\2965\3021\2965\2990\3021\n"
-	]
+lines_LF = ["hello\n", "\n", "world\n"]
 
 lines_CRLF :: [Text]
-lines_CRLF =
-	[ "hello world\r\n"
-	, "\r\n"
-	, "\20320\22909\19990\30028\r\n"
-	, "\r\n"
-	, "\1605\1585\1581\1576\1575 \1575\1604\1593\1575\1604\1605\r\n"
-	, "\r\n"
-	, "\12371\12435\12395\12385\12399\19990\30028\r\n"
-	, "\r\n"
-	, "\2997\2979\2965\3021\2965\2990\3021\r\n"
-	]
+lines_CRLF = ["hello\r\n", "\r\n", "world\r\n"]
 
 -- define locally, because it's not present in GHC 6.10
 data Newline = LF | CRLF
@@ -109,11 +89,11 @@
 test_EnumFile :: Suite
 test_EnumFile = assertions "enumFile" $ do
 	do
-		path <- liftIO (getDataFileName "data/utf8-lf.txt")
+		path <- liftIO (getDataFileName "data/ascii-lf.txt")
 		chunks <- liftIO (E.run_ (ET.enumFile path $$ EL.consume))
 		$expect (equal chunks lines_LF)
 	do
-		path <- liftIO (getDataFileName "data/utf8-crlf.txt")
+		path <- liftIO (getDataFileName "data/ascii-crlf.txt")
 		chunks <- liftIO (E.run_ (ET.enumFile path $$ EL.consume))
 		$expect (equal chunks (case nativeNewline of
 			LF -> lines_CRLF
diff --git a/tests/data/ascii-crlf.txt b/tests/data/ascii-crlf.txt
new file mode 100644
index 0000000..8600c5b
--- /dev/null
+++ b/tests/data/ascii-crlf.txt
@@ -0,0 +1,3 @@
+hello

+

+world

diff --git a/tests/data/ascii-lf.txt b/tests/data/ascii-lf.txt
new file mode 100644
index 0000000..6cb2dae
--- /dev/null
+++ b/tests/data/ascii-lf.txt
@@ -0,0 +1,3 @@
+hello
+
+world
diff --git a/tests/data/utf8-crlf.txt b/tests/data/utf8-crlf.txt
deleted file mode 100644
index 91e2a6d..0000000
--- a/tests/data/utf8-crlf.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-hello world

-

-你好世界

-

-مرحبا العالم

-

-こんにちは世界

-

-வணக்கம்

diff --git a/tests/data/utf8-lf.txt b/tests/data/utf8-lf.txt
deleted file mode 100644
index 70a78e0..0000000
--- a/tests/data/utf8-lf.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-hello world
-
-你好世界
-
-مرحبا العالم
-
-こんにちは世界
-
-வணக்கம்
diff --git a/tests/enumerator-tests.cabal b/tests/enumerator-tests.cabal
index eee50d1..823ccf5 100644
--- a/tests/enumerator-tests.cabal
+++ b/tests/enumerator-tests.cabal
@@ -4,8 +4,8 @@
 cabal-version: >= 1.6
 
 data-files:
-  data/utf8-crlf.txt
-  data/utf8-lf.txt
+  data/ascii-crlf.txt
+  data/ascii-lf.txt
 
 flag coverage
   default: False