Skip to content

Commit 98dc662

Browse files
author
github-actions
committed
Format with fourmolu
1 parent 2746c4a commit 98dc662

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,13 @@ rewriteSuccess =
209209
)
210210
subjectVariables =
211211
testCase "Aborts case when subject has variables" $ do
212-
let t = [trm| kCell{}( kseq{}( inj{SomeSort{}, SortKItem{}}( con3{}( X:SomeSort{}, \dv{SomeSort{}}("thing") ) ), ConfigVar:SortK{}) ) |]
213-
t `failsWith`
214-
RuleApplicationUnclear rule3 t (NE.singleton ([trm| \dv{SomeSort{}}("otherThing")|], [trm| X:SomeSort{} |]))
212+
let t =
213+
[trm| kCell{}( kseq{}( inj{SomeSort{}, SortKItem{}}( con3{}( X:SomeSort{}, \dv{SomeSort{}}("thing") ) ), ConfigVar:SortK{}) ) |]
214+
t
215+
`failsWith` RuleApplicationUnclear
216+
rule3
217+
t
218+
(NE.singleton ([trm| \dv{SomeSort{}}("otherThing")|], [trm| X:SomeSort{} |]))
215219
definednessUnclear =
216220
testCase "con4 rewrite to f2 might become undefined" $ do
217221
let pcon4 =

0 commit comments

Comments
 (0)