Skip to content

Commit 917152d

Browse files
committed
Remove equation tracing arg from unit tests
1 parent 9fe027e commit 917152d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ test_evaluateFunction =
9898
unsafePerformIO
9999
. runNoLoggingT
100100
. (fst <$>)
101-
. evaluateTerm NoCollectEquationTraces direction funDef Nothing Nothing
101+
. evaluateTerm direction funDef Nothing Nothing
102102

103103
isTooManyIterations (Left (TooManyIterations _n _ _)) = pure ()
104104
isTooManyIterations (Left err) = assertFailure $ "Unexpected error " <> show err
@@ -129,7 +129,7 @@ test_simplify =
129129
unsafePerformIO
130130
. runNoLoggingT
131131
. (fst <$>)
132-
. evaluateTerm NoCollectEquationTraces direction simplDef Nothing Nothing
132+
. evaluateTerm direction simplDef Nothing Nothing
133133
a = var "A" someSort
134134

135135
test_simplifyPattern :: TestTree
@@ -159,7 +159,7 @@ test_simplifyPattern =
159159
unsafePerformIO
160160
. runNoLoggingT
161161
. (fst <$>)
162-
. evaluatePattern NoCollectEquationTraces simplDef Nothing Nothing mempty
162+
. evaluatePattern simplDef Nothing Nothing mempty
163163
a = var "A" someSort
164164

165165
test_simplifyConstraint :: TestTree
@@ -229,7 +229,7 @@ test_simplifyConstraint =
229229
unsafePerformIO
230230
. runNoLoggingT
231231
. (fst <$>)
232-
. simplifyConstraint NoCollectEquationTraces testDefinition Nothing Nothing mempty
232+
. simplifyConstraint testDefinition Nothing Nothing mempty
233233

234234
test_errors :: TestTree
235235
test_errors =
@@ -242,7 +242,7 @@ test_errors =
242242
loopTerms =
243243
[f $ app con1 [a], f $ app con2 [a], f $ app con3 [a, a], f $ app con1 [a]]
244244
isLoop loopTerms . unsafePerformIO . runNoLoggingT $
245-
fst <$> evaluateTerm NoCollectEquationTraces TopDown loopDef Nothing Nothing subj
245+
fst <$> evaluateTerm TopDown loopDef Nothing Nothing subj
246246
]
247247
where
248248
isLoop ts (Left (EquationLoop ts')) = ts @?= ts'

0 commit comments

Comments
 (0)