mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-10-26 16:10:55 +03:00
Report a configuration error when glob is invalid
This commit is contained in:
parent
b9f0160325
commit
2e82646094
@ -86,6 +86,14 @@ a = 1
|
||||
]
|
||||
}
|
||||
]
|
||||
, test "Requesting invalid globs should result in a configuration error" <|
|
||||
\() ->
|
||||
createRule
|
||||
(Rule.withExtraFilesModuleVisitor [ "a.txt", "c.txt" ] (reportsFileNames "A"))
|
||||
|> Review.Test.expectConfigurationError
|
||||
{ message = "err"
|
||||
, details = [ "details" ]
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user