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
|
||||
"""
|
||||
|> Review.Test.expectNoErrors
|
||||
, test "should report the use of `Html.button` as an expression" <|
|
||||
\() ->
|
||||
testRule """
|
||||
, Test.only <|
|
||||
test "should report the use of `Html.button` as an expression" <|
|
||||
\() ->
|
||||
testRule """
|
||||
import Html
|
||||
a = Html.button
|
||||
"""
|
||||
|> Review.Test.expectErrors
|
||||
[ Review.Test.error
|
||||
{ message = message
|
||||
, details = details
|
||||
, under = "Html.button"
|
||||
}
|
||||
]
|
||||
|> Review.Test.expectErrors
|
||||
[ Review.Test.error
|
||||
{ message = message
|
||||
, details = details
|
||||
, under = "Html.button"
|
||||
}
|
||||
]
|
||||
, test "should report the use of `Html.button` even if it is not imported" <|
|
||||
\() ->
|
||||
testRule """
|
||||
|
Loading…
Reference in New Issue
Block a user