Forráskód Böngészése

[tests] needs more invalidation perhaps?

Simon Krajewski 6 éve
szülő
commit
9b17baea32
1 módosított fájl, 1 hozzáadás és 0 törlés
  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");
 		runHaxeJson([], ServerMethods.Invalidate, {file: new FsPath("MacroMain.hx")});