diff --git a/cabal-benchmarks/bench/CabalBenchmarks.hs b/cabal-benchmarks/bench/CabalBenchmarks.hs index 4d8bbddd0fd..39580898e86 100644 --- a/cabal-benchmarks/bench/CabalBenchmarks.hs +++ b/cabal-benchmarks/bench/CabalBenchmarks.hs @@ -1,7 +1,7 @@ {-# OPTIONS_GHC -fno-warn-deprecations #-} module Main where -import Criterion.Main (bench, bgroup, defaultMain, env, nf, whnf) +import Test.Tasty.Bench (bench, bgroup, defaultMain, env, nf, whnf) import Distribution.PackageDescription.Parsec (parseGenericPackageDescriptionMaybe) import Distribution.Parsec (eitherParsec) import Distribution.Version diff --git a/cabal-benchmarks/cabal-benchmarks.cabal b/cabal-benchmarks/cabal-benchmarks.cabal index d2e9cb328b2..d508c8a20e5 100644 --- a/cabal-benchmarks/cabal-benchmarks.cabal +++ b/cabal-benchmarks/cabal-benchmarks.cabal @@ -31,4 +31,4 @@ test-suite cabal-benchmarks base , bytestring , Cabal-syntax - , criterion >=1.5.6.2 && <1.7 + , tasty-bench >= 0.3.5 && < 0.4