Skip to content

Commit

Permalink
fix test error string
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbeard committed Feb 14, 2024
1 parent 4f5176e commit 2724fce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme/changelog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func Test_Changelog_Create(t *testing.T) {

// Assert
assert.ErrorContains(t, err,
"type must be added, fixed, improved, deprecated, or removed",
"type must be added, fixed, improved, deprecated, removed, or left unspecified",
"it returns the expected error",
)
assert.True(t, gock.IsDone(), "it makes the expected API call")
Expand Down Expand Up @@ -155,7 +155,7 @@ func Test_Changelog_Update(t *testing.T) {

// Assert
assert.ErrorContains(t, err,
"type must be added, fixed, improved, deprecated, or removed",
"type must be added, fixed, improved, deprecated, removed, or left unspecified",
"it returns the expected error",
)
})
Expand Down

0 comments on commit 2724fce

Please sign in to comment.