提交 39fafbf3 编写于 作者: W wu-chengwen

feat: fix unit code check issue

Signed-off-by: Nwu-chengwen <wuchengwen4@huawei.com>
上级 d8a59539
...@@ -248,8 +248,8 @@ describe('UsbCoreJsFunctionsTest', function () { ...@@ -248,8 +248,8 @@ describe('UsbCoreJsFunctionsTest', function () {
gPipe = usb.connectDevice(gDeviceList[0]) gPipe = usb.connectDevice(gDeviceList[0])
console.info('usb case getRawDescriptor param: ' + JSON.stringify(gPipe)); console.info('usb case getRawDescriptor param: ' + JSON.stringify(gPipe));
var Descriptor = usb.getRawDescriptor(gPipe); var descriptor = usb.getRawDescriptor(gPipe);
console.info('usb case getRawDescriptor ret: ' + Descriptor); console.info('usb case getRawDescriptor ret: ' + descriptor);
expect(true).assertTrue(); expect(true).assertTrue();
var isPipClose = usb.closePipe(gPipe); var isPipClose = usb.closePipe(gPipe);
expect(isPipClose).assertEqual(0); expect(isPipClose).assertEqual(0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册