diff --git a/burrito.cabal b/burrito.cabal
--- a/burrito.cabal
+++ b/burrito.cabal
@@ -1,7 +1,7 @@
 cabal-version: 2.2
 
 name: burrito
-version: 2.0.1.7
+version: 2.0.1.8
 
 synopsis: Parse and render URI templates.
 description:
@@ -40,7 +40,7 @@
 common library
   build-depends:
     , base >= 4.16.0 && < 4.20
-    , bytestring >= 0.11.3 && < 0.12
+    , bytestring >= 0.11.3 && < 0.13
     , containers >= 0.6.5 && < 0.7
     , parsec >= 3.1.15 && < 3.2
     , template-haskell >= 2.18.0 && < 2.22
diff --git a/source/test-suite/Main.hs b/source/test-suite/Main.hs
--- a/source/test-suite/Main.hs
+++ b/source/test-suite/Main.hs
@@ -56,7 +56,7 @@
           matches `Hspec.shouldSatisfy` elem values
           Monad.forM_ matches $ \match -> do
             let it = Burrito.expand match template
-            Monad.when (it /= output) . fail $
+            Monad.when (it /= output) . Hspec.expectationFailure $
               show
                 (input, values, output, matches, match, it)
 
