From 3c164f1713dea62dee29d5dde58977875e9cefe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AD=90=E9=93=AD?= Date: Thu, 22 Aug 2024 18:40:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E4=BB=B6-test=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/zltx/internal/zltx_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/zltx/internal/zltx_test.go b/plugins/zltx/internal/zltx_test.go index 0f1ac7e..7940458 100644 --- a/plugins/zltx/internal/zltx_test.go +++ b/plugins/zltx/internal/zltx_test.go @@ -22,6 +22,14 @@ func config() []byte { return marshal } +func TestConfig(t *testing.T) { + t.Run("TestConfig", func(t *testing.T) { + c := config() + fmt.Printf("%+s\n", string(c)) + assert.NotEmpty(t, c) + }) +} + func TestOrder(t *testing.T) { request := &proto.OrderRequest{ Config: config(),