diff --git a/Test/Tasty/Golden/Manage.hs b/Test/Tasty/Golden/Manage.hs
--- a/Test/Tasty/Golden/Manage.hs
+++ b/Test/Tasty/Golden/Manage.hs
@@ -61,9 +61,7 @@
 getGoldenTests :: OptionSet -> TestTree -> [(TestName, Golden)]
 getGoldenTests =
   foldTestTree
-    (\_ name t -> fmap ((,) name) $ maybeToList $ cast t)
-    (const id)
-    (const id)
+    trivialFold { foldSingle = \_ name t -> fmap ((,) name) $ maybeToList $ cast t }
 
 -- | «Accept» a golden test, i.e. reset the golden value to the currently
 -- produced value
diff --git a/tasty-golden.cabal b/tasty-golden.cabal
--- a/tasty-golden.cabal
+++ b/tasty-golden.cabal
@@ -1,5 +1,5 @@
 name:                tasty-golden
-version:             2.2.0.1
+version:             2.2.0.2
 synopsis:            Golden tests support for tasty
 description:
   This package provides support for «golden testing».
@@ -31,7 +31,7 @@
                        Test.Tasty.Golden.Internal
   build-depends:
     base ==4.*,
-    tasty >= 0.5,
+    tasty >= 0.7,
     bytestring,
     process,
     mtl,
