1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-05-21 22:38:25 +02:00

Fix test, changelog

This commit is contained in:
Philipp Heckel 2022-07-01 09:37:20 -04:00
parent 95bd876be2
commit e8953aea3b
2 changed files with 1 additions and 1 deletions

View file

@ -70,7 +70,6 @@ func TestParsePriority_Invalid(t *testing.T) {
func TestParsePriority_HTTPSpecPriority(t *testing.T) {
priorities := []string{"u=1", "u=3", "u=7, i"} // see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-priority
for _, priority := range priorities {
_, err := ParsePriority(priority)
actual, err := ParsePriority(priority)
require.Nil(t, err)
require.Equal(t, 3, actual) // Always expect 3!