Skip to content

Commit 80d1675

Browse files
committed
Fix unit tests
1 parent 7f7d667 commit 80d1675

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

booster/unit-tests/Test/Booster/Pattern/Rewrite.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ runRewrite t = do
294294
conf <- testConf
295295
(counter, _, res) <-
296296
runNoLoggingT $
297-
performRewrite conf $
297+
performRewrite conf mempty $
298298
Pattern_ t
299299
pure (counter, fmap (.term) res)
300300

@@ -438,7 +438,7 @@ supportsDepthControl =
438438
rewritesToDepth (MaxDepth depth) (Steps n) t t' f = do
439439
conf <- testConf
440440
(counter, _, res) <-
441-
runNoLoggingT $ performRewrite conf{mbMaxDepth = Just depth} $ Pattern_ t
441+
runNoLoggingT $ performRewrite conf{mbMaxDepth = Just depth} mempty $ Pattern_ t
442442
(counter, fmap (.term) res) @?= (n, f t')
443443

444444
supportsCutPoints :: TestTree
@@ -492,7 +492,7 @@ supportsCutPoints =
492492
conf <- testConf
493493
(counter, _, res) <-
494494
runNoLoggingT $
495-
performRewrite conf{cutLabels = [lbl]} $
495+
performRewrite conf{cutLabels = [lbl]} mempty $
496496
Pattern_ t
497497
(counter, fmap (.term) res) @?= (n, f t')
498498

@@ -524,5 +524,5 @@ supportsTerminalRules =
524524
rewritesToTerminal lbl (Steps n) t t' f = do
525525
conf <- testConf
526526
(counter, _, res) <-
527-
runNoLoggingT $ performRewrite conf{terminalLabels = [lbl]} $ Pattern_ t
527+
runNoLoggingT $ performRewrite conf{terminalLabels = [lbl]} mempty $ Pattern_ t
528528
(counter, fmap (.term) res) @?= (n, f t')

0 commit comments

Comments
 (0)