Explorar o código

[tests] sync with haxeserver

Simon Krajewski %!s(int64=3) %!d(string=hai) anos
pai
achega
5622544fe4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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() {