[commit: packages/filepath] master: #16, generalise some equalFilePath tests (11b5e32)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:34:40 UTC 2015


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

On branch  : master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/11b5e329b17110eb33c3770e2727967e67cab462

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

commit 11b5e329b17110eb33c3770e2727967e67cab462
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Sun Oct 26 21:09:23 2014 +0000

    #16, generalise some equalFilePath tests


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

11b5e329b17110eb33c3770e2727967e67cab462
 System/FilePath/Internal.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/System/FilePath/Internal.hs b/System/FilePath/Internal.hs
index aa24364..8167eb6 100644
--- a/System/FilePath/Internal.hs
+++ b/System/FilePath/Internal.hs
@@ -679,8 +679,8 @@ joinPath = foldr combine ""
 --
 -- >          x == y ==> equalFilePath x y
 -- >          normalise x == normalise y ==> equalFilePath x y
--- > Posix:   equalFilePath "foo" "foo/"
--- > Posix:   not (equalFilePath "foo" "/foo")
+-- >          equalFilePath "foo" "foo/"
+-- >          not (equalFilePath "foo" "/foo")
 -- > Posix:   not (equalFilePath "foo" "FOO")
 -- > Windows: equalFilePath "foo" "FOO"
 equalFilePath :: FilePath -> FilePath -> Bool



More information about the ghc-commits mailing list