Selaa lähdekoodia

[tests] migrate last legacy diagnostics in server tests

Rudy Ges 1 vuosi sitten
vanhempi
commit
0809c0ddf5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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();