1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 17:04:47 +03:00

Stub in a spec for sourceSpanToRange.

This commit is contained in:
Rob Rix 2016-09-13 11:59:46 -04:00
parent 4603cea555
commit 076f5c0d1e

View File

@ -15,3 +15,6 @@ spec = parallel $ do
prop "produces exhaustive ranges" $
\ s -> let source = fromList s in
foldMap (`slice` source) (actualLineRanges (totalRange s) source) `shouldBe` source
describe "sourceSpanToRange" $
prop "is one-indexed" pending