Skip to content

Commit c1d1704

Browse files
committed
fix test
1 parent 5b34ff7 commit c1d1704

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func TestRenderTemplate(t *testing.T) {
4141
t.Errorf("RenderTemplate returned %v, want %v", template, "#1")
4242
}
4343

44-
want := "*Automatically generated by [git-pr-release-go](https://github.com/odanado/git-pr-release-go)*"
44+
want := "*Automatically generated by [git-pr-release-go](https://github.com/odanado/git-pr-release-go).*"
4545
if !strings.Contains(template, want) {
4646
t.Errorf("RenderTemplate returned %v, want %v", template, want)
4747
}
@@ -71,7 +71,7 @@ func TestRenderTemplate(t *testing.T) {
7171
t.Errorf("RenderTemplate returned error: %v", err)
7272
}
7373

74-
want := " within [GitHub Actions workflow](https://github.com/odanado/git-pr-release-go/actions/runs/8434650280/attempts/1)*"
74+
want := " within [GitHub Actions workflow](https://github.com/odanado/git-pr-release-go/actions/runs/8434650280/attempts/1).*"
7575

7676
if !strings.Contains(template, want) {
7777
t.Errorf("RenderTemplate returned %v, want %v", template, want)

0 commit comments

Comments
 (0)