mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Stub in a spec for sourceSpanToRange.
This commit is contained in:
parent
4603cea555
commit
076f5c0d1e
@ -15,3 +15,6 @@ spec = parallel $ do
|
|||||||
prop "produces exhaustive ranges" $
|
prop "produces exhaustive ranges" $
|
||||||
\ s -> let source = fromList s in
|
\ s -> let source = fromList s in
|
||||||
foldMap (`slice` source) (actualLineRanges (totalRange s) source) `shouldBe` source
|
foldMap (`slice` source) (actualLineRanges (totalRange s) source) `shouldBe` source
|
||||||
|
|
||||||
|
describe "sourceSpanToRange" $
|
||||||
|
prop "is one-indexed" pending
|
||||||
|
Loading…
Reference in New Issue
Block a user