mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-09-20 04:27:25 +03:00
TMP Only run a single test
This commit is contained in:
parent
7885b4a23b
commit
c4f1a268d6
@ -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 """
|
||||||
|
Loading…
Reference in New Issue
Block a user