浏览代码

Update Box2.tests.js

gero3 6 年之前
父节点
当前提交
83d89f432f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/unit/src/math/Box2.tests.js

+ 1 - 1
test/unit/src/math/Box2.tests.js

@@ -130,7 +130,7 @@ export default QUnit.module( 'Maths', () => {
 		QUnit.test( "isEmpty", ( assert ) => {
 
 			var a = new Box2( zero2.clone(), zero2.clone() );
-			assert.ok( a.isEmpty(), "Passed!" );
+			assert.ok( ! a.isEmpty(), "Passed!" );
 
 			var a = new Box2( zero2.clone(), one2.clone() );
 			assert.ok( ! a.isEmpty(), "Passed!" );