mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-24 02:02:29 +03:00
Rename removeWhitespace function
This commit is contained in:
parent
49025a5855
commit
48da8cded0
@ -1372,7 +1372,7 @@ checkFixesAreCorrect codeInspector ((Error.ReviewError err) as error_) ((Expecte
|
||||
if fixedSource == expectedFixedSource then
|
||||
Expect.pass
|
||||
|
||||
else if removeShitespace fixedSource == removeShitespace expectedFixedSource then
|
||||
else if removeWhitespace fixedSource == removeWhitespace expectedFixedSource then
|
||||
Expect.fail (FailureMessage.fixedCodeWhitespaceMismatch fixedSource expectedFixedSource error_)
|
||||
|
||||
else
|
||||
@ -1388,8 +1388,8 @@ checkFixesAreCorrect codeInspector ((Error.ReviewError err) as error_) ((Expecte
|
||||
Expect.fail <| FailureMessage.hasCollisionsInFixRanges error_
|
||||
|
||||
|
||||
removeShitespace : String -> String
|
||||
removeShitespace =
|
||||
removeWhitespace : String -> String
|
||||
removeWhitespace =
|
||||
String.replace " " ""
|
||||
>> String.replace "\n" ""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user