Przeglądaj źródła

[tests] sync with haxeserver

Simon Krajewski 3 lat temu
rodzic
commit
5622544fe4
1 zmienionych plików z 2 dodań i 2 usunięć
  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() {