]> 127.0.0.1 Git - part/.git/commitdiff
add v0.28.0+20230725f30bbfd
authorqydysky <qydysky@foxmail.com>
Tue, 25 Jul 2023 02:37:55 +0000 (10:37 +0800)
committerqydysky <qydysky@foxmail.com>
Tue, 25 Jul 2023 02:37:55 +0000 (10:37 +0800)
.github/workflows/test.yml
component/Component_test.go

index 3c9e611b30af244247c5a701bc91fc53d530512a..c5ec6bd14d84594f74f14bd2eacb81198a8b399e 100644 (file)
@@ -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: |
index bd6192445832c4ff21c6ba5fc47f6da0238b112a..7216575c9ce8847fc1aa92f9874b72758fa26dbc 100644 (file)
@@ -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
        }