mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-24 02:02:29 +03:00
Remove unused temp function
This commit is contained in:
parent
5e112638f7
commit
ec21dee1da
@ -1242,23 +1242,6 @@ notHappyPath expected actual =
|
||||
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 : Int -> { expected : List GlobalError, actual : List GlobalError } -> Expectation
|
||||
checkAllGlobalErrorsMatch expectedErrorToString params =
|
||||
happyPath expectedErrorToString { expected = params.expected, actual = params.actual, needSecondPass = [] }
|
||||
|
Loading…
Reference in New Issue
Block a user