From fcfcacbb05f868ea703246485cd0ff2f1e1bfac9 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Fri, 29 Nov 2024 14:11:25 +0900 Subject: [PATCH] Fix test --- testdata/book/httpbin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/book/httpbin.yml b/testdata/book/httpbin.yml index 1df2a97e..6b9d44e4 100644 --- a/testdata/book/httpbin.yml +++ b/testdata/book/httpbin.yml @@ -142,5 +142,5 @@ steps: str: "{{ vars.zeroPrefixStr }}" test: | current.res.status == 200 - && string(current.res.body.json.str) + && type(current.res.body.json.str) == 'string' && current.res.body.json.str == "0123456789"