1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00

Revert "Test the coverage of source values."

This reverts commit b658804193.
This commit is contained in:
Rob Rix 2019-08-06 16:46:33 -04:00
parent 7251c1c4b4
commit 1b427b995b
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -72,9 +72,9 @@ testTree = Tasty.testGroup "Data.Source"
]
where summarize src = do
let lines = sourceLines src
cover 5 "empty" $ nullSource src
cover 20 "single-line" $ length lines == 1
cover 50 "multiple lines" $ length lines > 1
classify "empty" $ nullSource src
classify "single-line" $ length lines == 1
classify "multiple lines" $ length lines > 1
spec :: Spec
spec = do