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

调整部分uts 测试例

(cherry picked from commit ddf58715)
上级 a97536ac
......@@ -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.
先完成此消息的编辑!
想要评论请 注册