We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b774f6 commit b88adb8Copy full SHA for b88adb8
test/functional/Completion.hs
@@ -390,6 +390,8 @@ contextTests = testGroup "contexts" [
390
]
391
where
392
compls `shouldContainCompl` x =
393
- null (filter ((== x) . (^. label)) compls) @? "Should contain completion"
+ any ((== x) . (^. label)) compls
394
+ @? "Should contain completion: " ++ show x
395
compls `shouldNotContainCompl` x =
- null (filter ((== x) . (^. label)) compls) @? "Should not contain completion"
396
+ all ((/= x) . (^. label)) compls
397
+ @? "Should not contain completion: " ++ show x
0 commit comments