Browse Source

[tests] sync with haxeserver

Simon Krajewski 3 năm trước cách đây
mục cha
commit
5622544fe4
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      tests/server/src/TestCase.hx

+ 2 - 2
tests/server/src/TestCase.hx

@@ -41,10 +41,10 @@ class TestCase implements ITest {
 		}
 	}
 
-	public function setup() {
+	public function setup(async:utest.Async) {
 		testDir = "test/cases/" + i++;
 		vfs = new Vfs(testDir);
-		server = new HaxeServerAsync(() -> new HaxeServerProcessNode("haxe", ["-v", "--cwd", testDir]));
+		server = new HaxeServerAsync(() -> new HaxeServerProcessNode("haxe", ["-v", "--cwd", testDir], {}, () -> async.done()));
 	}
 
 	public function teardown() {