mirror of
https://github.com/github/semantic.git
synced 2024-12-29 18:06:14 +03:00
Spacing.
This commit is contained in:
parent
b5e6aab55b
commit
e986ed0937
@ -99,5 +99,5 @@ insetRange Range {..} = Range (succ start) (pred end)
|
||||
|
||||
|
||||
instance QC.Arbitrary Source where
|
||||
arbitrary = fromText . Text.pack <$> QC.listOf (QC.oneof [ pure '\r' , pure '\n' , QC.arbitraryUnicodeChar ])
|
||||
arbitrary = fromText . Text.pack <$> QC.listOf (QC.oneof [ pure '\r', pure '\n', QC.arbitraryUnicodeChar ])
|
||||
shrink src = fromText . Text.pack <$> QC.shrinkList QC.shrinkNothing (Text.unpack (toText src))
|
||||
|
Loading…
Reference in New Issue
Block a user