Skip to content

Commit

Permalink
[tests] update test for HaxeFoundation#3500
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Feb 3, 2024
1 parent 2f56f2c commit 23c865f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/misc/projects/Issue3500/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Main {
var t = haxe.macro.Context.getType("A");
switch (t) {
case TAbstract(a, _):
var hasTestMeta = Lambda.exists(a.get().impl.get().meta.get(), function(m) return m.name == ":test");
var hasTestMeta = Lambda.exists(a.get().meta.get(), function(m) return m.name == ":test");
if (!hasTestMeta) {
fail("Abstract implementation class has no @:test metadata");
}
Expand Down

0 comments on commit 23c865f

Please sign in to comment.