Skip to content

Commit

Permalink
[tests] Add test for #8671 (#11952)
Browse files Browse the repository at this point in the history
This should be our fastest display method..
  • Loading branch information
kLabz authored Jan 29, 2025
1 parent a5837fc commit 0671b09
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/server/src/cases/ServerTests.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package cases;

import haxe.Json;
import haxe.display.Diagnostic;
import haxe.display.Display;
import haxe.display.FsPath;
Expand Down Expand Up @@ -521,6 +522,12 @@ class ServerTests extends TestCase {
});
}

function test8671() {
runHaxeJson(["--times"], ServerMethods.Contexts, null);
var res = Json.parse(lastResult.stderr);
Assert.equals(0, res.result.timers.time);
}

function test10986() {
vfs.putContent("Main.hx", getTemplate("issues/Issue10986/Main.hx"));
vfs.putContent("haxe/ds/Vector.hx", getTemplate("issues/Issue10986/Vector.hx"));
Expand Down

0 comments on commit 0671b09

Please sign in to comment.