From 1b884ef15dfa4c0e46b30885e6b867ae8af36281 Mon Sep 17 00:00:00 2001 From: peefy Date: Thu, 22 Feb 2024 18:30:07 +0800 Subject: [PATCH] fix: json string test cases Signed-off-by: peefy --- kclvm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kclvm_test.go b/kclvm_test.go index dec28ca6..76bc63a6 100644 --- a/kclvm_test.go +++ b/kclvm_test.go @@ -555,7 +555,7 @@ func TestWithExternalpkg(t *testing.T) { if err != nil { t.Fatal(err) } - assert2.Equal(t, "{\"a\": \"Hello External_1 World!\", \"b\": \"Hello External_2 World!\"}", result.GetRawJsonResult()) + assert2.Equal(t, "{\"a\":\"Hello External_1 World!\",\"b\":\"Hello External_2 World!\"}", result.GetRawJsonResult()) assert2.Equal(t, "a: Hello External_1 World!\nb: Hello External_2 World!", result.GetRawYamlResult()) }