diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-11-16 14:37:31 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-11-16 14:37:31 -0400 |
commit | e316eac6c816111c11280aab79e9a058f86d902b (patch) | |
tree | eea4b7657458ab2957f67cb03bbc25585fa27b3a /Utility/SafeCommand.hs | |
parent | 8055c761751e5c6a913f76293281389e29378545 (diff) |
fix use of hifalutin terminology
Diffstat (limited to 'Utility/SafeCommand.hs')
-rw-r--r-- | Utility/SafeCommand.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Utility/SafeCommand.hs b/Utility/SafeCommand.hs index 9102b7267..40d41c7a2 100644 --- a/Utility/SafeCommand.hs +++ b/Utility/SafeCommand.hs @@ -105,10 +105,10 @@ shellUnEscape s = word : shellUnEscape rest | otherwise = inquote q (w++[c]) cs -- | For quickcheck. -prop_idempotent_shellEscape :: String -> Bool -prop_idempotent_shellEscape s = [s] == (shellUnEscape . shellEscape) s -prop_idempotent_shellEscape_multiword :: [String] -> Bool -prop_idempotent_shellEscape_multiword s = s == (shellUnEscape . unwords . map shellEscape) s +prop_isomorphic_shellEscape :: String -> Bool +prop_isomorphic_shellEscape s = [s] == (shellUnEscape . shellEscape) s +prop_isomorphic_shellEscape_multiword :: [String] -> Bool +prop_isomorphic_shellEscape_multiword s = s == (shellUnEscape . unwords . map shellEscape) s -- | Segments a list of filenames into groups that are all below the maximum -- command-line length limit. |