Add generated file
This PR adds generated files under pkg/client and vendor folder.
This commit is contained in:
18
vendor/github.com/modern-go/concurrent/map_test.go
generated
vendored
Normal file
18
vendor/github.com/modern-go/concurrent/map_test.go
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
package concurrent_test
|
||||
|
||||
import (
|
||||
"github.com/modern-go/concurrent"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestMap_Load(t *testing.T) {
|
||||
m := concurrent.NewMap()
|
||||
m.Store("hello", "world")
|
||||
value, found := m.Load("hello")
|
||||
if !found {
|
||||
t.Fail()
|
||||
}
|
||||
if value != "world" {
|
||||
t.Fail()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user