on master help sign in
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.

commit0e40431ba33be7c67a2480891505e31d769642e9 authorMark Karpov <markkarpov92@gmail.com> dateWed 15 Apr 2020, 17:56 (7 years ago) parent683cbea
15 files changed+1−15
expected-failures/Agda.txt−1 expected-failures/aws.txt−1 expected-failures/brick.txt−1 expected-failures/distributed-process.txt−1 expected-failures/esqueleto.txt−1 expected-failures/fay.txt−1 expected-failures/idris.txt−1 expected-failures/intero.txt−1 expected-failures/leksah.txt−1 expected-failures/lens.txt−1 expected-failures/pandoc.txt−1 expected-failures/pipes.txt−1 expected-failures/purescript.txt−1 expected-failures/stack.txt−1 nix/ormolize/default.nix+1−1
expected-failures/Agda.txt−1
@@ -32,4 +32,3 @@ Formatting is not idempotent:
3232 before: "Prefix a = -- | The "
3333 after: "Prefix a =\n -- | Th"
3434Please, consider reporting the bug.
35−
expected-failures/aws.txt−1
@@ -7,4 +7,3 @@ Parsing of source code failed:
77 parse error on input `{- | Let's make sure the queue was actually deleted and that the same number of queues exist at when
88 | the program ends as when it started.
99 -}'
10−
expected-failures/brick.txt−1
@@ -3,4 +3,3 @@ Formatting is not idempotent:
33 before: "t at i\n in -- If t"
44 after: "t at i\n -"
55Please, consider reporting the bug.
6−
expected-failures/distributed-process.txt−1
@@ -5,4 +5,3 @@ Parsing of source code failed:
55Parsing of source code failed:
66 benchmarks/Spawns.hs:5:1-6
77 parse error on input `import'
8−
expected-failures/esqueleto.txt−1
@@ -5,4 +5,3 @@ Parsing of source code failed:
55Parsing of source code failed:
66 test/PostgreSQL/Test.hs:510:9-41
77 parse error on input `-- | Check the result is not null'
8−
expected-failures/fay.txt−1
@@ -16,4 +16,3 @@ Parsing of source code failed:
1616Parsing of source code failed:
1717 examples/data.hs:9:1-6
1818 parse error on input `module'
19−
expected-failures/idris.txt−1
@@ -99,4 +99,3 @@ Formatting is not idempotent:
9999 before: "s, rhs)) = -- apply "
100100 after: "s, rhs)) =\n -- "
101101Please, consider reporting the bug.
102−
expected-failures/intero.txt−1
@@ -3,4 +3,3 @@ Formatting is not idempotent:
33 before: "Decl d2) = -- A bit "
44 after: "Decl d2) =\n -- A bi"
55Please, consider reporting the bug.
6−
expected-failures/leksah.txt−1
@@ -9,4 +9,3 @@ Formatting is not idempotent:
99 before: ")\n return [\n {-i"
1010 after: ")\n return\n [ {-i"
1111Please, consider reporting the bug.
12−
expected-failures/lens.txt−1
@@ -1,4 +1,3 @@
11Parsing of source code failed:
22 src/Control/Exception/Lens.hs:180:13-37
33 parse error on input `AllocationLimitExceeded__'
4−
expected-failures/pandoc.txt−1
@@ -13,4 +13,3 @@ Formatting is not idempotent:
1313 before: " -- w:p\n "
1414 after: " -- w:p\n "
1515Please, consider reporting the bug.
16−
expected-failures/pipes.txt−1
@@ -1,4 +1,3 @@
11AST of input and AST of formatted code differ.
22 at src/Pipes/Core.hs:(128,1)-(151,2)
33Please, consider reporting the bug.
4−
expected-failures/purescript.txt−1
@@ -16,4 +16,3 @@ Perhaps you meant to use PatternSynonyms?
1616Parsing of source code failed:
1717 src/Language/PureScript/Crash.hs:16:1-6
1818 parse error on input `import'
19−
expected-failures/stack.txt−1
@@ -3,4 +3,3 @@ Formatting is not idempotent:
33 before: " <$> opti"
44 after: " <$> option"
55Please, consider reporting the bug.
6−
nix/ormolize/default.nix+1−1
@@ -44,7 +44,7 @@
4444 if [[ -s log.txt ]]; then exit 1; fi
4545 ''
4646 else ''
47− diff --color=always ${expectedFailures} log.txt
47+ diff --ignore-blank-lines --color=always ${expectedFailures} log.txt
4848 '';
4949 installPhase = ''
5050 mkdir "$out"