mirror of
https://github.com/github/semantic.git
synced 2024-12-03 00:16:52 +03:00
Indentation.
This commit is contained in:
parent
c5fed4ac25
commit
6ce0ce5e26
@ -22,4 +22,4 @@ spec = parallel $ do
|
|||||||
\ s -> let source = fromList s
|
\ s -> let source = fromList s
|
||||||
spans = zipWith (\ i Range {..} -> SourceSpan "" (SourcePos i 0) (SourcePos i (end - start))) [0..] ranges
|
spans = zipWith (\ i Range {..} -> SourceSpan "" (SourcePos i 0) (SourcePos i (end - start))) [0..] ranges
|
||||||
ranges = actualLineRanges (totalRange source) source in
|
ranges = actualLineRanges (totalRange source) source in
|
||||||
sourceSpanToRange source <$> spans `shouldBe` ranges
|
sourceSpanToRange source <$> spans `shouldBe` ranges
|
||||||
|
Loading…
Reference in New Issue
Block a user