mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-02-02 16:28:39 +08:00
add more tests
This commit is contained in:
parent
68e46cf6b3
commit
e133ffd820
@ -169,6 +169,8 @@ func TestContainer(t *testing.T) {
|
||||
for _, exclusive := range exclusives {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
c := newContainer(exclusive)
|
||||
assert.Nil(t, c.getValues())
|
||||
|
||||
for _, order := range test.do {
|
||||
if order.act == actionAdd {
|
||||
c.OnAdd(internal.KV{
|
||||
|
Loading…
Reference in New Issue
Block a user