Skip to content

Commit 20e5ecb

Browse files
committed
make the Chinese stringify result readable.
1 parent bcc7bc7 commit 20e5ecb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/json.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ Stringify Complex Object
109109

110110
Should Be Equal As Strings ${json_string} {"a": "1", "b": "12", "names": ["First Name", "Family Name", "Email"]}
111111

112+
Stringify Data With Chinese String
113+
Set Test Variable ${data} 中
114+
${json_string}= Stringify JSON ${data}
115+
Should Be Equal As Strings ${json_string} "${data}"
116+
112117
Get Json Value In Chinese OK
113118
Set Test Variable ${chinese} "中"
114119
${result}= Get Json Value {"foo":${chinese}} /foo

0 commit comments

Comments
 (0)