mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 23:52:46 +08:00
add header-session
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
var casesHeaderAuth = []struct {
|
||||
name string
|
||||
byts string
|
||||
har *HeaderAuth
|
||||
ha *HeaderAuth
|
||||
}{
|
||||
{
|
||||
"basic",
|
||||
@@ -66,7 +66,7 @@ func TestHeaderAuth(t *testing.T) {
|
||||
t.Run(c.name, func(t *testing.T) {
|
||||
req, err := ReadHeaderAuth(c.byts)
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, c.har, req)
|
||||
require.Equal(t, c.ha, req)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user