create new tests

This commit is contained in:
Mesabloo 2022-07-23 09:55:58 +02:00
parent 87de51ac93
commit 7650b2d020

View File

@ -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")]
[]