Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 3106bd2

Browse files
robrixpatrickt
andcommitted
Note a problem with coverage testing.
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
1 parent 668efbb commit 3106bd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Data/Source/Spec.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ testTree = Tasty.testGroup "Data.Source"
7171
]
7272
where summarize src = do
7373
let lines = sourceLines src
74+
-- FIXME: this should be using cover (reverted in 1b427b995), but that leads to flaky tests: hedgehog’s 'cover' implementation fails tests instead of warning, and currently has no equivalent to 'checkCoverage'.
7475
classify "empty" $ nullSource src
7576
classify "single-line" $ length lines == 1
7677
classify "multiple lines" $ length lines > 1

0 commit comments

Comments
 (0)