[commit: packages/unix] bgamari-patch-1, master: Fix posix005 test (d0b0e8c)

git at git.haskell.org git at git.haskell.org
Wed Jul 19 22:04:41 UTC 2017


Repository : ssh://git@git.haskell.org/unix

On branches: bgamari-patch-1,master
Link       : http://ghc.haskell.org/trac/ghc/changeset/d0b0e8cf5a7fa5b9dc500d2f623258200818cb16/unix

>---------------------------------------------------------------

commit d0b0e8cf5a7fa5b9dc500d2f623258200818cb16
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Dec 15 14:06:36 2016 -0500

    Fix posix005 test
    
    Needed import of sort and updated expected output


>---------------------------------------------------------------

d0b0e8cf5a7fa5b9dc500d2f623258200818cb16
 tests/libposix/posix005.hs     | 2 +-
 tests/libposix/posix005.stdout | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/libposix/posix005.hs b/tests/libposix/posix005.hs
index 2988f4c..91331ff 100644
--- a/tests/libposix/posix005.hs
+++ b/tests/libposix/posix005.hs
@@ -1,4 +1,4 @@
-
+import Data.List (sort)
 import System.IO
 import System.Posix.Env
 
diff --git a/tests/libposix/posix005.stdout b/tests/libposix/posix005.stdout
index ace79ee..4f60054 100644
--- a/tests/libposix/posix005.stdout
+++ b/tests/libposix/posix005.stdout
@@ -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")]
 []



More information about the ghc-commits mailing list