Skip to content

Commit eb96c20

Browse files
committed
ParserTests: m clean-up
1 parent d163c64 commit eb96c20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ParserTests.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ instance (VariadicAssertions a) => VariadicAssertions ((ExpectedHask, NixLang) -
794794
checkListPairs' f acc x = checkListPairs' f (acc <> one x)
795795

796796
checks :: (VariadicAssertions a) => a
797-
checks = checkListPairs' (uncurry assertParseText) []
797+
checks = checkListPairs' (uncurry assertParseText) mempty
798798

799799

800800
class VariadicArgs t where
@@ -810,7 +810,7 @@ instance (VariadicArgs a) => VariadicArgs (NixLang -> a) where
810810
checkList' f acc x = checkList' f (acc <> one x)
811811

812812
knownAs :: (VariadicArgs a) => (NixLang -> Assertion) -> a
813-
knownAs f = checkList' f []
813+
knownAs f = checkList' f mempty
814814

815815
mistakes :: (VariadicArgs a) => a
816816
mistakes = knownAs assertParseFail

0 commit comments

Comments
 (0)