소스 검색

[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() {