mirror of
https://github.com/jfmengels/elm-review.git
synced 2025-01-08 10:47:25 +03:00
Target changelog in tests
This commit is contained in:
parent
aa676c09dd
commit
dcdfec8d54
@ -54,10 +54,15 @@ Stuff happened
|
||||
a = 1
|
||||
"""
|
||||
|> Review.Test.runWithProjectData project (rule defaults)
|
||||
|> Review.Test.expectGlobalErrors
|
||||
[ { message = "Missing entry in CHANGELOG.md for version 2.13.0"
|
||||
, details = [ "It seems you have or are ready to release a new version of your package, but forgot to include releases notes for it in your CHANGELOG.md file." ]
|
||||
}
|
||||
|> Review.Test.expectErrorsForModules
|
||||
[ ( "CHANGELOG.md"
|
||||
, [ Review.Test.error
|
||||
{ message = "Missing entry in CHANGELOG.md for version 2.13.0"
|
||||
, details = [ "It seems you have or are ready to release a new version of your package, but forgot to include releases notes for it in your CHANGELOG.md file." ]
|
||||
, under = "# Cha"
|
||||
}
|
||||
]
|
||||
)
|
||||
]
|
||||
, test "should report an error when the changelog could not be found (default path)" <|
|
||||
\() ->
|
||||
|
Loading…
Reference in New Issue
Block a user