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

调整数字对比判断方法

上级 affb5de9
...@@ -17,9 +17,14 @@ export class Matchers<T> { ...@@ -17,9 +17,14 @@ export class Matchers<T> {
} }
toEqualNumber(expected: T) { toEqualNumber(expected: T) {
// #ifndef APP-IOS
if (expected == this.actual) { if (expected == this.actual) {
return return
} }
// #endif
// #ifdef APP-IOS
this.toEqual(expected)
// #endif
} }
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册