소스 검색

[tests] migrate last legacy diagnostics in server tests

Rudy Ges 1 년 전
부모
커밋
0809c0ddf5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/server/src/cases/ServerTests.hx

+ 1 - 1
tests/server/src/cases/ServerTests.hx

@@ -486,7 +486,7 @@ class ServerTests extends TestCase {
 		var runs = 0;
 
 		function runLoop() {
-			runHaxe(args.concat(["--display", "Empty.hx@0@diagnostics"]), () -> {
+			runHaxeJson(args, DisplayMethods.Diagnostics, {file: new FsPath("Empty.hx")}, () -> {
 				runHaxe(args.concat(["-D", "compile-only-define"]), () -> {
 					if (assertSuccess() && ++runs < 20) runLoop();
 					else async.done();