Browse Source

[python] fix tests

Dan Korostelev 10 years ago
parent
commit
4fae04f8a2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/unit/src/unit/TestPython.hx

+ 2 - 2
tests/unit/src/unit/TestPython.hx

@@ -238,7 +238,7 @@ class TestPython extends Test {
 	}
 
 	function testOptionalKwArgs () {
-		function test (?kw:KwArgs<Dynamic>) eq(0,kw.toDict().length());
+		function test (?kw:KwArgs<Dynamic>) eq(0,kw.toDict().length);
 		test();
 	}
 
@@ -249,7 +249,7 @@ class TestPython extends Test {
 			eq(1,a[0]);
 			eq(2,a[1]);
 
-			eq(0, kw.toDict().length());
+			eq(0, kw.toDict().length);
 		}
 		var x = [1,2];
 		test(x);