소스 검색

fix a todo

Gero3 6 년 전
부모
커밋
0b77e42152
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      test/unit/src/math/Box2.tests.js

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

@@ -82,7 +82,7 @@ export default QUnit.module( 'Maths', () => {
 
 		} );
 
-		QUnit.todo( "clone", ( assert ) => {
+		QUnit.test( "clone", ( assert ) => {
 
 
 			var a = new Box2( zero2, zero2 );
@@ -91,7 +91,7 @@ export default QUnit.module( 'Maths', () => {
 			assert.ok( b.min.equals( zero2 ), "Passed!" );
 			assert.ok( b.max.equals( zero2 ), "Passed!" );
 
-			a = new Box2( zero2, zero2 );
+			a = new Box2();
 			var b = a.clone();
 			assert.ok( b.min.equals( posInf2 ), "Passed!" );
 			assert.ok( b.max.equals( negInf2 ), "Passed!" );