mirror of
https://github.com/ilyakooo0/ormolu.git
synced 2024-09-11 16:36:31 +03:00
Ignore blank lines when checking the logs for Hackage packages
My editor trims trailing blank lines, so it is not handy to edit the expected failures manually.
This commit is contained in:
parent
683cbeacf5
commit
0e40431ba3
@ -32,4 +32,3 @@ Formatting is not idempotent:
|
||||
before: "Prefix a = -- | The "
|
||||
after: "Prefix a =\n -- | Th"
|
||||
Please, consider reporting the bug.
|
||||
|
||||
|
@ -7,4 +7,3 @@ Parsing of source code failed:
|
||||
parse error on input `{- | Let's make sure the queue was actually deleted and that the same number of queues exist at when
|
||||
| the program ends as when it started.
|
||||
-}'
|
||||
|
||||
|
@ -3,4 +3,3 @@ Formatting is not idempotent:
|
||||
before: "t at i\n in -- If t"
|
||||
after: "t at i\n -"
|
||||
Please, consider reporting the bug.
|
||||
|
||||
|
@ -5,4 +5,3 @@ Parsing of source code failed:
|
||||
Parsing of source code failed:
|
||||
benchmarks/Spawns.hs:5:1-6
|
||||
parse error on input `import'
|
||||
|
||||
|
@ -5,4 +5,3 @@ Parsing of source code failed:
|
||||
Parsing of source code failed:
|
||||
test/PostgreSQL/Test.hs:510:9-41
|
||||
parse error on input `-- | Check the result is not null'
|
||||
|
||||
|
@ -16,4 +16,3 @@ Parsing of source code failed:
|
||||
Parsing of source code failed:
|
||||
examples/data.hs:9:1-6
|
||||
parse error on input `module'
|
||||
|
||||
|
@ -99,4 +99,3 @@ Formatting is not idempotent:
|
||||
before: "s, rhs)) = -- apply "
|
||||
after: "s, rhs)) =\n -- "
|
||||
Please, consider reporting the bug.
|
||||
|
||||
|
@ -3,4 +3,3 @@ Formatting is not idempotent:
|
||||
before: "Decl d2) = -- A bit "
|
||||
after: "Decl d2) =\n -- A bi"
|
||||
Please, consider reporting the bug.
|
||||
|
||||
|
@ -9,4 +9,3 @@ Formatting is not idempotent:
|
||||
before: ")\n return [\n {-i"
|
||||
after: ")\n return\n [ {-i"
|
||||
Please, consider reporting the bug.
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
Parsing of source code failed:
|
||||
src/Control/Exception/Lens.hs:180:13-37
|
||||
parse error on input `AllocationLimitExceeded__'
|
||||
|
||||
|
@ -13,4 +13,3 @@ Formatting is not idempotent:
|
||||
before: " -- w:p\n "
|
||||
after: " -- w:p\n "
|
||||
Please, consider reporting the bug.
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
AST of input and AST of formatted code differ.
|
||||
at src/Pipes/Core.hs:(128,1)-(151,2)
|
||||
Please, consider reporting the bug.
|
||||
|
||||
|
@ -16,4 +16,3 @@ Perhaps you meant to use PatternSynonyms?
|
||||
Parsing of source code failed:
|
||||
src/Language/PureScript/Crash.hs:16:1-6
|
||||
parse error on input `import'
|
||||
|
||||
|
@ -3,4 +3,3 @@ Formatting is not idempotent:
|
||||
before: " <$> opti"
|
||||
after: " <$> option"
|
||||
Please, consider reporting the bug.
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
if [[ -s log.txt ]]; then exit 1; fi
|
||||
''
|
||||
else ''
|
||||
diff --color=always ${expectedFailures} log.txt
|
||||
diff --ignore-blank-lines --color=always ${expectedFailures} log.txt
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir "$out"
|
||||
|
Loading…
Reference in New Issue
Block a user