diff --git a/Test/Tasty/ExpectedFailure.hs b/Test/Tasty/ExpectedFailure.hs
--- a/Test/Tasty/ExpectedFailure.hs
+++ b/Test/Tasty/ExpectedFailure.hs
@@ -1,9 +1,13 @@
+{-# LANGUAGE CPP #-}
 {-# LANGUAGE DeriveDataTypeable, ScopedTypeVariables, LambdaCase #-}
 module Test.Tasty.ExpectedFailure (expectFail, expectFailBecause, ignoreTest, ignoreTestBecause, wrapTest) where
 
 import Test.Tasty.Options
 import Test.Tasty.Runners
 import Test.Tasty.Providers
+#if MIN_VERSION_tasty(1,3,1)
+import Test.Tasty.Providers.ConsoleFormat ( ResultDetailsPrinter(..) )
+#endif
 import Test.Tasty ( Timeout(..) )
 import Data.Typeable
 import Data.Tagged
@@ -43,12 +47,18 @@
                    , resultDescription = "Timed out after " <> s
                    , resultShortDescription = "TIMEOUT"
                    , resultTime = fromIntegral t
+#if MIN_VERSION_tasty(1,3,1)
+                   , resultDetailsPrinter = ResultDetailsPrinter . const . const $ return ()
+#endif
                    }
           exceptionResult e =
             Result { resultOutcome = Failure $ TestThrewException e
                    , resultDescription = "Exception: " ++ displayException e
                    , resultShortDescription = "FAIL"
                    , resultTime = 0
+#if MIN_VERSION_tasty(1,3,1)
+                   , resultDetailsPrinter = ResultDetailsPrinter . const . const $ return ()
+#endif
                    }
       in wrap $ try (pre $ run opts t prog) >>= \case
         Right r -> return (post r)
diff --git a/tasty-expected-failure.cabal b/tasty-expected-failure.cabal
--- a/tasty-expected-failure.cabal
+++ b/tasty-expected-failure.cabal
@@ -1,5 +1,5 @@
 name:                tasty-expected-failure
-version:             0.12
+version:             0.12.1
 synopsis:            Mark tasty tests as failure expected
 description:
  With the function 'Test.Tasty.ExpectedFailure.expectFail' in the provided module
