summaryrefslogtreecommitdiff
path: root/Command/FuzzTest.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-09 16:05:45 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-09 16:05:45 -0400
commit525e04af35bb588b4f8a8721cfa77b2b285ac914 (patch)
tree9d00a7d7066a8ad30c9e6313706d47de2609f82a /Command/FuzzTest.hs
parent87896574f32be5aa1636facc494faeab34cd0845 (diff)
wip
Diffstat (limited to 'Command/FuzzTest.hs')
-rw-r--r--Command/FuzzTest.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/FuzzTest.hs b/Command/FuzzTest.hs
index e15632c81..fd888e0df 100644
--- a/Command/FuzzTest.hs
+++ b/Command/FuzzTest.hs
@@ -55,9 +55,9 @@ guardTest = unlessM (fromMaybe False . Git.Config.isTrue <$> getConfig key "") $
fuzz :: Handle -> Annex ()
fuzz logh = do
- action <- genFuzzAction
- record logh $ flip Started action
- result <- tryNonAsync $ runFuzzAction action
+ fuzzer <- genFuzzAction
+ record logh $ flip Started fuzzer
+ result <- tryNonAsync $ runFuzzAction fuzzer
record logh $ flip Finished $
either (const False) (const True) result