mirror of
https://github.com/ilyakooo0/ormolu.git
synced 2024-10-27 03:28:33 +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 "
|
before: "Prefix a = -- | The "
|
||||||
after: "Prefix a =\n -- | Th"
|
after: "Prefix a =\n -- | Th"
|
||||||
Please, consider reporting the bug.
|
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
|
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.
|
| the program ends as when it started.
|
||||||
-}'
|
-}'
|
||||||
|
|
||||||
|
@ -3,4 +3,3 @@ Formatting is not idempotent:
|
|||||||
before: "t at i\n in -- If t"
|
before: "t at i\n in -- If t"
|
||||||
after: "t at i\n -"
|
after: "t at i\n -"
|
||||||
Please, consider reporting the bug.
|
Please, consider reporting the bug.
|
||||||
|
|
||||||
|
@ -5,4 +5,3 @@ Parsing of source code failed:
|
|||||||
Parsing of source code failed:
|
Parsing of source code failed:
|
||||||
benchmarks/Spawns.hs:5:1-6
|
benchmarks/Spawns.hs:5:1-6
|
||||||
parse error on input `import'
|
parse error on input `import'
|
||||||
|
|
||||||
|
@ -5,4 +5,3 @@ Parsing of source code failed:
|
|||||||
Parsing of source code failed:
|
Parsing of source code failed:
|
||||||
test/PostgreSQL/Test.hs:510:9-41
|
test/PostgreSQL/Test.hs:510:9-41
|
||||||
parse error on input `-- | Check the result is not null'
|
parse error on input `-- | Check the result is not null'
|
||||||
|
|
||||||
|
@ -16,4 +16,3 @@ Parsing of source code failed:
|
|||||||
Parsing of source code failed:
|
Parsing of source code failed:
|
||||||
examples/data.hs:9:1-6
|
examples/data.hs:9:1-6
|
||||||
parse error on input `module'
|
parse error on input `module'
|
||||||
|
|
||||||
|
@ -99,4 +99,3 @@ Formatting is not idempotent:
|
|||||||
before: "s, rhs)) = -- apply "
|
before: "s, rhs)) = -- apply "
|
||||||
after: "s, rhs)) =\n -- "
|
after: "s, rhs)) =\n -- "
|
||||||
Please, consider reporting the bug.
|
Please, consider reporting the bug.
|
||||||
|
|
||||||
|
@ -3,4 +3,3 @@ Formatting is not idempotent:
|
|||||||
before: "Decl d2) = -- A bit "
|
before: "Decl d2) = -- A bit "
|
||||||
after: "Decl d2) =\n -- A bi"
|
after: "Decl d2) =\n -- A bi"
|
||||||
Please, consider reporting the bug.
|
Please, consider reporting the bug.
|
||||||
|
|
||||||
|
@ -9,4 +9,3 @@ Formatting is not idempotent:
|
|||||||
before: ")\n return [\n {-i"
|
before: ")\n return [\n {-i"
|
||||||
after: ")\n return\n [ {-i"
|
after: ")\n return\n [ {-i"
|
||||||
Please, consider reporting the bug.
|
Please, consider reporting the bug.
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
Parsing of source code failed:
|
Parsing of source code failed:
|
||||||
src/Control/Exception/Lens.hs:180:13-37
|
src/Control/Exception/Lens.hs:180:13-37
|
||||||
parse error on input `AllocationLimitExceeded__'
|
parse error on input `AllocationLimitExceeded__'
|
||||||
|
|
||||||
|
@ -13,4 +13,3 @@ Formatting is not idempotent:
|
|||||||
before: " -- w:p\n "
|
before: " -- w:p\n "
|
||||||
after: " -- w:p\n "
|
after: " -- w:p\n "
|
||||||
Please, consider reporting the bug.
|
Please, consider reporting the bug.
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
AST of input and AST of formatted code differ.
|
AST of input and AST of formatted code differ.
|
||||||
at src/Pipes/Core.hs:(128,1)-(151,2)
|
at src/Pipes/Core.hs:(128,1)-(151,2)
|
||||||
Please, consider reporting the bug.
|
Please, consider reporting the bug.
|
||||||
|
|
||||||
|
@ -16,4 +16,3 @@ Perhaps you meant to use PatternSynonyms?
|
|||||||
Parsing of source code failed:
|
Parsing of source code failed:
|
||||||
src/Language/PureScript/Crash.hs:16:1-6
|
src/Language/PureScript/Crash.hs:16:1-6
|
||||||
parse error on input `import'
|
parse error on input `import'
|
||||||
|
|
||||||
|
@ -3,4 +3,3 @@ Formatting is not idempotent:
|
|||||||
before: " <$> opti"
|
before: " <$> opti"
|
||||||
after: " <$> option"
|
after: " <$> option"
|
||||||
Please, consider reporting the bug.
|
Please, consider reporting the bug.
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
if [[ -s log.txt ]]; then exit 1; fi
|
if [[ -s log.txt ]]; then exit 1; fi
|
||||||
''
|
''
|
||||||
else ''
|
else ''
|
||||||
diff --color=always ${expectedFailures} log.txt
|
diff --ignore-blank-lines --color=always ${expectedFailures} log.txt
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir "$out"
|
mkdir "$out"
|
||||||
|
Loading…
Reference in New Issue
Block a user