diff options
author | xuri <xuri.me@gmail.com> | 2021-06-12 08:49:18 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-06-12 08:49:18 +0800 |
commit | 5faa36430cd77ae256a79cb52a7808d540da50da (patch) | |
tree | ca04062f5a88555d2b71c3ed8e84f453622b360c /lib_test.go | |
parent | 83e12cc4e5242904366a51f642596acbc9f9dd56 (diff) |
skip XML control character in the escape literal string, and update dependencies
Diffstat (limited to 'lib_test.go')
-rw-r--r-- | lib_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
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_*", |