From: qydysky Date: Tue, 25 Jul 2023 02:37:55 +0000 (+0800) Subject: add X-Git-Tag: v0.28.0+20230725f30bbfd X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=f30bbfd028abc3a7e3885fa80aec5841a7701630;p=part%2F.git add --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c9e611..c5ec6bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,6 +38,7 @@ jobs: go test -count 1 -timeout 10s -v -run "Test_Client" -race github.com/qydysky/part/websocket go test -count 1 -timeout 10s -v -race github.com/qydysky/part/sql go test -count 1 -timeout 10s -v -race github.com/qydysky/part/rpc + go test -count 1 -timeout 5s -v -race github.com/qydysky/part/component - name: Set Release Name run: | diff --git a/component/Component_test.go b/component/Component_test.go index bd61924..7216575 100644 --- a/component/Component_test.go +++ b/component/Component_test.go @@ -88,6 +88,7 @@ func TestDot(t *testing.T) { } func Test3(t *testing.T) { + Init(DotMatch) sumup := func(ctx context.Context, ptr *int) error { return nil }