Re-enable disabled test

This commit is contained in:
Jeroen Engels 2017-06-18 14:06:36 +02:00
parent 5bc6607750
commit f663aad6fc

View File

@ -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)"