浏览代码

[tests] sync with haxeserver

Simon Krajewski 3 年之前
父节点
当前提交
5622544fe4
共有 1 个文件被更改,包括 2 次插入2 次删除
  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() {