Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Software
CoPaR
Commits
6f4af4ce
Commit
6f4af4ce
authored
May 10, 2022
by
Gebhart97
Browse files
Formatting
parent
ecd25bfd
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/Copar/Parser/LexerSpec.hs
View file @
6f4af4ce
...
...
@@ -39,11 +39,11 @@ spaceSpec = describe "whitespace" $ do
it
"skips many newlines"
$
p
`
shouldSucceedOn
`
"
\n\n\n
"
it
"skips many carriage returns"
$
it
"skips many carriage returns"
$
p
`
shouldSucceedOn
`
"
\r\r\r
"
it
"skips many newlines and carriage returns"
$
it
"skips many newlines and carriage returns"
$
p
`
shouldSucceedOn
`
"
\r\n\n\r\n\r
"
it
"skips newlines interleaved with spaces"
$
...
...
@@ -63,11 +63,11 @@ spaceSpec = describe "whitespace" $ do
it
"skips many newlines"
$
p
`
shouldSucceedOn
`
"
\n\n\n
"
it
"skips many carriage returns"
$
it
"skips many carriage returns"
$
p
`
shouldSucceedOn
`
"
\r\r\r
"
it
"skips many newlines and carriage returns"
$
it
"skips many newlines and carriage returns"
$
p
`
shouldSucceedOn
`
"
\r\n\n\r\n\r
"
it
"skips newlines interleaved with spaces"
$
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment