Skip to content

Commit

Permalink
WIP fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Jan 21, 2025
1 parent d5dd8f5 commit f67bf51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/misc/projects/Issue11852/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Main {
var lines = File.getContent("dump/eval/dependencies.dump").split("\n");
lines = lines.map(l -> StringTools.replace(l, "\\", "/"));
inline function check(module:String) {
var line = Lambda.filter(lines, l -> StringTools.endsWith(l, module)).shift();
var line = Lambda.filter(lines, l -> StringTools.contains(l, module) && !StringTools.endsWith(l, ":")).shift();

if (line == null)
throw 'Cannot find $module in dependency dump';
Expand Down

0 comments on commit f67bf51

Please sign in to comment.