提交 908a8a1d 编写于 作者: @ @wang-jingwu001

Modify the use case of decodeWithStream interface xts in TextDecoder class under util

Signed-off-by: N@wang-jingwu001 <wangjingwu3@huawei.com>
https://gitee.com/openharmony/xts_acts/issues/I5N2R8
上级 33c15107
...@@ -902,7 +902,7 @@ describe('TextEncoderTest', function () { ...@@ -902,7 +902,7 @@ describe('TextEncoderTest', function () {
var BOM = '\uFEFF'; var BOM = '\uFEFF';
var rel = 'abc'; var rel = 'abc';
var re = BOM + rel; var re = BOM + rel;
expect(retStr).assertEqual(rel) expect(retStr).assertEqual(re)
}) })
/** /**
...@@ -923,7 +923,7 @@ describe('TextEncoderTest', function () { ...@@ -923,7 +923,7 @@ describe('TextEncoderTest', function () {
var BOM = '\uFEFF' var BOM = '\uFEFF'
var rel = 'abc' var rel = 'abc'
var re = BOM + rel; var re = BOM + rel;
expect(retStr).assertEqual(rel) expect(retStr).assertEqual(re)
}) })
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册