mirror of
https://github.com/Mesabloo/diagnose.git
synced 2024-08-16 23:00:47 +03:00
create new tests
This commit is contained in:
parent
87de51ac93
commit
7650b2d020
@ -72,6 +72,7 @@ main = do
|
||||
errorWithMultilineMarkerMessage,
|
||||
errorWithMultilineMarkerMessage',
|
||||
errorWithSingleBlankMarker,
|
||||
errorWithBlankAndNormalMarkerInLine,
|
||||
beautifulExample
|
||||
]
|
||||
|
||||
@ -435,3 +436,11 @@ errorWithSingleBlankMarker =
|
||||
"Error with a single blank marker"
|
||||
[(Position (1, 5) (1, 10) "test.zc", Blank)]
|
||||
[]
|
||||
|
||||
errorWithBlankAndNormalMarkerInLine :: Report String
|
||||
errorWithBlankAndNormalMarkerInLine =
|
||||
err
|
||||
Nothing
|
||||
"Error with a single blank marker"
|
||||
[(Position (1, 5) (1, 10) "test.zc", Blank), (Position (1, 15) (1, 22) "test.zc", This "After a blank")]
|
||||
[]
|
||||
|
Loading…
Reference in New Issue
Block a user