소스 검색

[tests] needs more invalidation perhaps?

Simon Krajewski 6 년 전
부모
커밋
c38faf4f9e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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");