From c0ff564fe8734690087ff47d5096fc5fbb8db41a Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 25 Apr 2023 09:13:53 +0800 Subject: [PATCH] [_] debug --- connector/connector_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/connector/connector_test.go b/connector/connector_test.go index 2b8909ca..fa41d2b8 100644 --- a/connector/connector_test.go +++ b/connector/connector_test.go @@ -5,6 +5,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/yaoapp/gou/connector" + "github.com/yaoapp/kun/utils" "github.com/yaoapp/yao/config" "github.com/yaoapp/yao/test" ) @@ -14,6 +15,7 @@ func TestLoad(t *testing.T) { defer test.Clean() Load(config.Conf) + utils.Dump(config.Conf) check(t) } @@ -22,6 +24,8 @@ func check(t *testing.T) { for id := range connector.Connectors { ids[id] = true } + + utils.Dump(ids) assert.True(t, ids["mongo"]) assert.True(t, ids["mysql"]) assert.True(t, ids["redis"])