Fix posix005 test
authorBen Gamari <ben@smart-cactus.org>
Thu, 15 Dec 2016 19:06:36 +0000 (14:06 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 15 Dec 2016 19:08:35 +0000 (14:08 -0500)
Needed import of sort and updated expected output

tests/libposix/posix005.hs
tests/libposix/posix005.stdout

index 2988f4c..91331ff 100644 (file)
@@ -1,4 +1,4 @@
-
+import Data.List (sort)
 import System.IO
 import System.Posix.Env
 
index ace79ee..4f60054 100644 (file)
@@ -1,7 +1,7 @@
 vt100
 [("one","1"),("two","2")]
-[("one","1"),("two","2"),("foo","bar")]
-[("one","1"),("two","2"),("foo","baz")]
-[("one","1"),("two","2"),("foo","baz"),("fu","bar")]
-[("one","1"),("two","2"),("fu","bar")]
+[("foo","bar"),("one","1"),("two","2")]
+[("foo","baz"),("one","1"),("two","2")]
+[("foo","baz"),("fu","bar"),("one","1"),("two","2")]
+[("fu","bar"),("one","1"),("two","2")]
 []