mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-24 18:23:09 +03:00
tmp
This commit is contained in:
parent
124748a3cf
commit
f64684c02a
@ -1233,8 +1233,27 @@ findAndRemoveHelp element previous list =
|
|||||||
findAndRemoveHelp element (head :: previous) rest
|
findAndRemoveHelp element (head :: previous) rest
|
||||||
|
|
||||||
|
|
||||||
notHappyPath =
|
notHappyPath expected actual =
|
||||||
Debug.todo ""
|
--case expected of
|
||||||
|
-- head :: rest ->
|
||||||
|
Debug.todo "notHappyPath"
|
||||||
|
|
||||||
|
|
||||||
|
checkGlobalErrorMatch : GlobalError -> ReviewError -> (() -> Expectation)
|
||||||
|
checkGlobalErrorMatch expectedError error_ =
|
||||||
|
--Expect.all
|
||||||
|
-- [ \() ->
|
||||||
|
-- (expectedError_.message == Rule.errorMessage error_)
|
||||||
|
-- |> Expect.true
|
||||||
|
-- (FailureMessage.messageMismatch
|
||||||
|
-- (extractExpectedErrorData expectedError)
|
||||||
|
-- error_
|
||||||
|
-- )
|
||||||
|
-- , checkMessageAppearsUnder codeInspector error_ expectedError
|
||||||
|
-- , checkDetailsAreCorrect error_ expectedError
|
||||||
|
-- , \() -> checkFixesAreCorrect codeInspector error_ expectedError
|
||||||
|
-- ]
|
||||||
|
Debug.todo "checkGLobal"
|
||||||
|
|
||||||
|
|
||||||
checkAllGlobalErrorsMatch : { expected : List GlobalError, actual : List GlobalError } -> Expectation
|
checkAllGlobalErrorsMatch : { expected : List GlobalError, actual : List GlobalError } -> Expectation
|
||||||
|
Loading…
Reference in New Issue
Block a user