From 5faa36430cd77ae256a79cb52a7808d540da50da Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 12 Jun 2021 08:49:18 +0800 Subject: skip XML control character in the escape literal string, and update dependencies --- lib_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib_test.go') diff --git a/lib_test.go b/lib_test.go index bd28c7e..58c6ed9 100644 --- a/lib_test.go +++ b/lib_test.go @@ -237,10 +237,12 @@ func TestGenXMLNamespace(t *testing.T) { func TestBstrUnmarshal(t *testing.T) { bstrs := map[string]string{ + "*_x0000_": "*", "*": "*", "*_x0008_": "*", "_x0008_*": "*", "*_x0008_*": "**", + "*_x4F60__x597D_": "*你好", "*_x005F__x0008_*": "*_x005F_*", "*_x005F_x0001_*": "*_x0001_*", "*_x005F_x005F_x005F_x0006_*": "*_x005F_x0006_*", -- cgit v1.2.1