提交 3658bd0e 编写于 作者: L ling990

modify testcases Signed-off-by: ling990 <liling96@huawei.com>

Signed-off-by: Nling990 <ling990@qq.com>
上级 880e0f50
...@@ -350,7 +350,6 @@ describe('AudioEncoderFuncCallback', function () { ...@@ -350,7 +350,6 @@ describe('AudioEncoderFuncCallback', function () {
} }
} }
else{ else{
writeHead(savepath, outputobject.length);
writeFile(savepath, outputobject.data, outputobject.length); writeFile(savepath, outputobject.data, outputobject.length);
console.info("write to file success"); console.info("write to file success");
} }
......
...@@ -354,7 +354,6 @@ describe('AudioEncoderFuncPromise', function () { ...@@ -354,7 +354,6 @@ describe('AudioEncoderFuncPromise', function () {
} }
} }
else{ else{
writeHead(savepath, outputobject.length);
writeFile(savepath, outputobject.data, outputobject.length); writeFile(savepath, outputobject.data, outputobject.length);
console.info("write to file success"); console.info("write to file success");
} }
......
...@@ -246,7 +246,6 @@ describe('AudioEncoderFuncPromise', function () { ...@@ -246,7 +246,6 @@ describe('AudioEncoderFuncPromise', function () {
} }
} }
else{ else{
writeHead(savepath, outputobject.length);
writeFile(savepath, outputobject.data, outputobject.length); writeFile(savepath, outputobject.data, outputobject.length);
console.info("write to file success"); console.info("write to file success");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册