Fix test, changelog
This commit is contained in:
parent
95bd876be2
commit
e8953aea3b
2 changed files with 1 additions and 1 deletions
|
@ -35,6 +35,7 @@ Thank you to [@wunter8](https://github.com/wunter8) for proactively picking up s
|
||||||
**Bugs:**
|
**Bugs:**
|
||||||
|
|
||||||
* `ntfy user` commands don't work with `auth_file` but works with `auth-file` ([#344](https://github.com/binwiederhier/ntfy/issues/344), thanks to [@Histalek](https://github.com/Histalek) for reporting)
|
* `ntfy user` commands don't work with `auth_file` but works with `auth-file` ([#344](https://github.com/binwiederhier/ntfy/issues/344), thanks to [@Histalek](https://github.com/Histalek) for reporting)
|
||||||
|
* Ignore new draft HTTP `Priority` header ([#351](https://github.com/binwiederhier/ntfy/issues/351), thanks to [@ksurl](https://github.com/ksurl) for reporting)
|
||||||
|
|
||||||
**Documentation:**
|
**Documentation:**
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,6 @@ func TestParsePriority_Invalid(t *testing.T) {
|
||||||
func TestParsePriority_HTTPSpecPriority(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
|
priorities := []string{"u=1", "u=3", "u=7, i"} // see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-priority
|
||||||
for _, priority := range priorities {
|
for _, priority := range priorities {
|
||||||
_, err := ParsePriority(priority)
|
|
||||||
actual, err := ParsePriority(priority)
|
actual, err := ParsePriority(priority)
|
||||||
require.Nil(t, err)
|
require.Nil(t, err)
|
||||||
require.Equal(t, 3, actual) // Always expect 3!
|
require.Equal(t, 3, actual) // Always expect 3!
|
||||||
|
|
Loading…
Reference in a new issue