TMP Only run a single test

This commit is contained in:
Jeroen Engels 2020-08-20 23:00:21 +02:00
parent 7885b4a23b
commit c4f1a268d6

View File

@ -48,19 +48,20 @@ b = Foo.bar 1
c = baz c = baz
""" """
|> Review.Test.expectNoErrors |> Review.Test.expectNoErrors
, test "should report the use of `Html.button` as an expression" <| , Test.only <|
\() -> test "should report the use of `Html.button` as an expression" <|
testRule """ \() ->
testRule """
import Html import Html
a = Html.button a = Html.button
""" """
|> Review.Test.expectErrors |> Review.Test.expectErrors
[ Review.Test.error [ Review.Test.error
{ message = message { message = message
, details = details , details = details
, under = "Html.button" , under = "Html.button"
} }
] ]
, test "should report the use of `Html.button` even if it is not imported" <| , test "should report the use of `Html.button` even if it is not imported" <|
\() -> \() ->
testRule """ testRule """