Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] reenable test for 8748 #11954

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)));
}
}
Loading