Skip to content

Commit d6a339f

Browse files
committed
fix(coderd/notifications): add a missing call to fmt.Sprintf
1 parent d8e00c2 commit d6a339f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/notifications/notifications_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -977,8 +977,8 @@ func TestNotificationTemplates_Golden(t *testing.T) {
977977
wantTitle, err := os.ReadFile(titleGoldenFile)
978978
require.NoError(t, err, fmt.Sprintf("missing golden notification title file. %s", hint))
979979

980-
require.Equal(t, string(wantBody), body, "rendered template body does not match golden file. If this is expected, %s", hint)
981-
require.Equal(t, string(wantTitle), title, "rendered template title does not match golden file. If this is expected, %s", hint)
980+
require.Equal(t, string(wantBody), body, fmt.Sprintf("rendered template body does not match golden file. If this is expected, %s", hint))
981+
require.Equal(t, string(wantTitle), title, fmt.Sprintf("rendered template title does not match golden file. If this is expected, %s", hint))
982982
})
983983
}
984984
}

0 commit comments

Comments
 (0)