Explorar o código

[tests] needs more invalidation perhaps?

Simon Krajewski %!s(int64=6) %!d(string=hai) anos
pai
achega
c38faf4f9e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/server/src/Main.hx

+ 1 - 0
tests/server/src/Main.hx

@@ -55,6 +55,7 @@ class ServerTests extends HaxeServerTestCase {
 		runHaxe(args);
 		assertHasPrint("1");
 		vfs.putContent("Macro.hx", getTemplate("Macro.hx").replace("1", "2"));
+		runHaxeJson([], ServerMethods.Invalidate, {file: new FsPath("Macro.hx")});
 		runHaxe(args);
 		assertHasPrint("2");
 		vfs.touchFile("MacroMain.hx");