mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-30 23:09:23 +02:00
lint
This commit is contained in:
parent
4d12aa777a
commit
1df38d682a
1 changed files with 4 additions and 2 deletions
|
@ -551,7 +551,8 @@ func TestGetUserPrincipalNamesFromSAN(t *testing.T) {
|
|||
OtherName[PrintableString]{
|
||||
TypeID: asn1.ObjectIdentifier{1, 1, 1, 2},
|
||||
Value: PrintableString{"PrintableString"},
|
||||
}})
|
||||
},
|
||||
})
|
||||
require.NoError(t, err)
|
||||
|
||||
names, err := getUserPrincipalNamesFromSAN(san)
|
||||
|
@ -566,7 +567,8 @@ func TestGetUserPrincipalNamesFromSAN(t *testing.T) {
|
|||
OtherName[PrintableString]{
|
||||
TypeID: asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 311, 20, 2, 3},
|
||||
Value: PrintableString{"PrintableString"},
|
||||
}})
|
||||
},
|
||||
})
|
||||
require.NoError(t, err)
|
||||
|
||||
names, err := getUserPrincipalNamesFromSAN(san)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue