summaryrefslogtreecommitdiff
path: root/Utility/Format.hs
diff options
context:
space:
mode:
authorRichard Hartmann <richih@debian.org>2015-12-16 07:23:53 +0100
committerRichard Hartmann <richih@debian.org>2015-12-16 07:23:53 +0100
commit53679fdc47d9470c2540fbe38d5de38c91c3bb01 (patch)
treee3151adb4d04e905dbb930b67cdb959fac5ea513 /Utility/Format.hs
parentc94e89d797b15833875ebeb6adcaa6e130315f8e (diff)
parent259c511a17669d043a573344e59eae9e9956265c (diff)
downloadgit-repair-53679fdc47d9470c2540fbe38d5de38c91c3bb01.tar.gz
Merge tag '1.20151215' into debian
tagging package git-repair version 1.20151215
Diffstat (limited to 'Utility/Format.hs')
-rw-r--r--Utility/Format.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Utility/Format.hs b/Utility/Format.hs
index 78620f9..7844963 100644
--- a/Utility/Format.hs
+++ b/Utility/Format.hs
@@ -1,6 +1,6 @@
{- Formatted string handling.
-
- - Copyright 2010, 2011 Joey Hess <joey@kitenet.net>
+ - Copyright 2010, 2011 Joey Hess <id@joeyh.name>
-
- License: BSD-2-clause
-}
@@ -11,7 +11,7 @@ module Utility.Format (
format,
decode_c,
encode_c,
- prop_idempotent_deencode
+ prop_isomorphic_deencode
) where
import Text.Printf (printf)
@@ -174,5 +174,5 @@ encode_c' p = concatMap echar
showoctal i = '\\' : printf "%03o" i
{- for quickcheck -}
-prop_idempotent_deencode :: String -> Bool
-prop_idempotent_deencode s = s == decode_c (encode_c s)
+prop_isomorphic_deencode :: String -> Bool
+prop_isomorphic_deencode s = s == decode_c (encode_c s)