mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-13 18:00:00 +08:00
chore: fix test failure in profilecenter_test.go
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestReport(t *testing.T) {
|
func TestReport(t *testing.T) {
|
||||||
once.Do(func() {})
|
|
||||||
assert.NotContains(t, generateReport(), "foo")
|
assert.NotContains(t, generateReport(), "foo")
|
||||||
report("foo", time.Second)
|
report("foo", time.Second)
|
||||||
assert.Contains(t, generateReport(), "foo")
|
assert.Contains(t, generateReport(), "foo")
|
||||||
|
|||||||
Reference in New Issue
Block a user