Skip to content

Commit

Permalink
[tests] reenable test for 8748 (#11954)
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz authored Jan 29, 2025
1 parent 559ad19 commit d67606a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/server/src/cases/issues/Issue8748.hx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ class Issue8748 extends TestCase {
var args = [
"-main",
"WithDependency",
// hxb optimizations will ignore invalidation there
"-D", "disable-hxb-optimizations",
"--interp",
"--macro",
"haxe.macro.Context.registerModuleDependency(\"Dependency\", \"res/dep.dep\")"
Expand All @@ -19,7 +21,7 @@ class Issue8748 extends TestCase {
runHaxeJson([], ServerMethods.Invalidate, {file: new FsPath("res/dep.dep")});
runHaxeJson(args, DisplayMethods.Hover, {file: new FsPath("WithDependency.hx"), offset: 65});
// check messages manually because module file contains awkward absolute path
// var r = ~/skipping Dependency \(.*dep.dep\)/;
// Assert.isTrue(messages.exists(message -> r.match(message)));
var r = ~/skipping Dependency \(DependencyDirty .*dep.dep - Tainted server\/invalidate\)/;
Assert.isTrue(messages.exists(message -> r.match(message)));
}
}

0 comments on commit d67606a

Please sign in to comment.