Skip to content

Commit

Permalink
Merge branch 'master' into upgrade_azserect_client
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuker authored Feb 20, 2024
2 parents 5a193b8 + 16a6929 commit 2367a0a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/cache/barrier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

func TestBarrierZeroValue(t *testing.T) {
t.Run("Lock", func(t *testing.T) {
t.Run("Lock", func(*testing.T) {
var b Barrier[int]
b.Lock(0)
b.Unlock(0)
Expand Down
4 changes: 2 additions & 2 deletions internal/cache/cow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ func TestCowZeroValue(t *testing.T) {
t.Fatal("Empty Cow contains value")
}
})
t.Run("DeleteAll", func(t *testing.T) {
t.Run("DeleteAll", func(*testing.T) {
var cow Cow[int, string]
cow.DeleteAll() // Check whether this panics for an empty Cow
})
t.Run("DeleteFunc", func(t *testing.T) {
t.Run("DeleteFunc", func(*testing.T) {
var cow Cow[int, string]
cow.DeleteFunc(func(_ int, _ string) bool { return true }) // Check whether this panics for an empty Cow
})
Expand Down
1 change: 1 addition & 0 deletions kesconf/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ func (f *File) TLSConfig() (*tls.Config, error) {
Certificates: []tls.Certificate{certificate},
NextProtos: []string{"h2", "http/1.1"},
RootCAs: rootCAs,
ClientCAs: rootCAs,
}, nil
}

Expand Down

0 comments on commit 2367a0a

Please sign in to comment.