فهرست منبع

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

k 2 سال پیش
والد
کامیت
7de58981cc
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  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 {