未验证 提交 931d6535 编写于 作者: O openharmony_ci 提交者: Gitee

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

Merge pull request !5052 from 王景悟/master
...@@ -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.
先完成此消息的编辑!
想要评论请 注册