mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-26 11:13:39 +03:00
Fix incorrect error message when the number of errors is unexpected
This commit is contained in:
parent
be43b18a2f
commit
1a14c26d65
@ -1083,7 +1083,7 @@ checkAllErrorsMatch runResult unorderedExpectedErrors =
|
||||
, expectedErrorsWithNoMatch = []
|
||||
}
|
||||
in
|
||||
checkErrorsMatch runResult expectedErrors (List.length reviewErrors) reviewErrors
|
||||
checkErrorsMatch runResult expectedErrors (List.length expectedErrors) reviewErrors
|
||||
|> List.reverse
|
||||
|> (\expectations -> Expect.all expectations ())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user