提交 ddf58715 编写于 作者: lizhongyi_'s avatar lizhongyi_

调整部分uts 测试例

上级 8401e573
......@@ -411,8 +411,11 @@ export function testJSON() : Result {
function test<T>(json: string): T {
return JSON.parse<T>(json)!
}
// #ifndef APP-IOS
const a = test<A>(`{"num": 1}`)
expect(a.num).toEqual(1)
// #endif
})
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册