diff --git a/plugins/zltx/internal/zltx_test.go b/plugins/zltx/internal/zltx_test.go index e760730..fa3e805 100644 --- a/plugins/zltx/internal/zltx_test.go +++ b/plugins/zltx/internal/zltx_test.go @@ -65,6 +65,15 @@ func TestQuery(t *testing.T) { Extra: nil, }, } + requestString := request.String() + index := strings.Index(requestString, "order:") + if index == -1 { + fmt.Println("order: not found in the string") + return + } + trimmedResult := requestString[index+len("order:"):] + fmt.Println(trimmedResult) + t.Run("TestQuery", func(t *testing.T) { got, err := zltx.Query(context.Background(), request) if err != nil {