mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-24 18:23:09 +03:00
Re-enable disabled test
This commit is contained in:
parent
5bc6607750
commit
f663aad6fc
@ -74,11 +74,10 @@ tests =
|
||||
\() ->
|
||||
testRule "a = { foo = Debug.log z y }"
|
||||
|> expectErrors [ error "Forbidden use of Debug" ]
|
||||
-- TODO elm-ast doesn't handle record update expressions
|
||||
-- , test "should report Debug in an record update expression" <|
|
||||
-- \() ->
|
||||
-- testRule "a = { model | foo = Debug.log z y }"
|
||||
-- |> expectErrors [ error "Forbidden use of Debug" ]
|
||||
, test "should report Debug in an record update expression" <|
|
||||
\() ->
|
||||
testRule "a = { model | foo = Debug.log z y }"
|
||||
|> expectErrors [ error "Forbidden use of Debug" ]
|
||||
, test "should report Debug in an lambda expression" <|
|
||||
\() ->
|
||||
testRule "a = (\\foo -> Debug.log z foo)"
|
||||
|
Loading…
Reference in New Issue
Block a user