Skip to content

Commit

Permalink
[tests] migrate last legacy diagnostics in server tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz authored and 0b1kn00b committed Jan 25, 2024
1 parent 5b9e150 commit 9603bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/server/src/cases/ServerTests.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9603bb9

Please sign in to comment.