diff --git a/test/TriggerSpec.hs b/test/TriggerSpec.hs index f81be9c..aa15619 100644 --- a/test/TriggerSpec.hs +++ b/test/TriggerSpec.hs @@ -122,7 +122,11 @@ spec = do , " Spec.hs:8:3: " , " 1) bar" , "" +#if MIN_VERSION_hspec(2,11,7) , " To rerun use: --match \"/bar/\" --seed 0" +#else + , " To rerun use: --match \"/bar/\"" +#endif , "" , "Randomized with seed 0" , "" @@ -221,7 +225,11 @@ spec = do , " Spec.hs:8:3: " , " 1) bar" , "" +#if MIN_VERSION_hspec(2,11,7) , " To rerun use: --match \"/bar/\" --seed 0" +#else + , " To rerun use: --match \"/bar/\"" +#endif , "" , "Randomized with seed 0" , ""