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:
Mark Karpov 2020-04-15 17:56:31 +02:00
parent 683cbeacf5
commit 0e40431ba3
No known key found for this signature in database
GPG Key ID: 8564658B2889FF7C
15 changed files with 1 additions and 15 deletions

View File

@ -32,4 +32,3 @@ Formatting is not idempotent:
before: "Prefix a = -- | The "
after: "Prefix a =\n -- | Th"
Please, consider reporting the bug.

View File

@ -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.
-}'

View File

@ -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.

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -99,4 +99,3 @@ Formatting is not idempotent:
before: "s, rhs)) = -- apply "
after: "s, rhs)) =\n -- "
Please, consider reporting the bug.

View File

@ -3,4 +3,3 @@ Formatting is not idempotent:
before: "Decl d2) = -- A bit "
after: "Decl d2) =\n -- A bi"
Please, consider reporting the bug.

View File

@ -9,4 +9,3 @@ Formatting is not idempotent:
before: ")\n return [\n {-i"
after: ")\n return\n [ {-i"
Please, consider reporting the bug.

View File

@ -1,4 +1,3 @@
Parsing of source code failed:
src/Control/Exception/Lens.hs:180:13-37
parse error on input `AllocationLimitExceeded__'

View File

@ -13,4 +13,3 @@ Formatting is not idempotent:
before: " -- w:p\n "
after: " -- w:p\n "
Please, consider reporting the bug.

View File

@ -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.

View File

@ -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'

View File

@ -3,4 +3,3 @@ Formatting is not idempotent:
before: " <$> opti"
after: " <$> option"
Please, consider reporting the bug.

View File

@ -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"