Forráskód Böngészése

[hl] patch stack trace tests until #10926 is handled

k 2 éve
szülő
commit
7de58981cc
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      tests/unit/src/unit/TestExceptions.hx

+ 4 - 0
tests/unit/src/unit/TestExceptions.hx

@@ -242,6 +242,10 @@ class TestExceptions extends Test {
 			var expected = null;
 			var lineShift = 0;
 			for(s in stacks) {
+				// TODO: fix hl vs other targets difference with callstacks
+				// See https://github.com/HaxeFoundation/haxe/issues/10926
+				#if hl @:privateAccess s.asArray().shift(); #end
+
 				if(expected == null) {
 					expected = stackItemData(s[0]);
 				} else {