Pārlūkot izejas kodu

fix test for #9470

also let's see what GH actions have to say about this
Dan Korostelev 5 gadi atpakaļ
vecāks
revīzija
2a9ada3739
1 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. 2 3
      tests/server/src/cases/display/issues/Issue9470.hx

+ 2 - 3
tests/server/src/cases/display/issues/Issue9470.hx

@@ -18,8 +18,7 @@ class Issue9470 extends DisplayTestCase {
 		}
 	**/
 	function test(_) {
-		runHaxeJson([], DisplayMethods.FindReferences, {file: file, offset: offset(1)});
-		trace(haxe.Json.parse(lastResult.stderr));
+		runHaxeJson([], DisplayMethods.FindReferences, {file: file, kind: WithBaseAndDescendants, offset: offset(1)});
 		var result = parseGotoDefinitionLocations();
 		/*
 			TODO:
@@ -28,7 +27,7 @@ class Issue9470 extends DisplayTestCase {
 			Similar test #9446 works fine in the test suite.
 			Another test which does not work here, but works in vshaxe: #9423.
 		*/
-		// Assert.same([range(2, 3)], result.map(l -> l.range));
+		Assert.same([range(2, 3)], result.map(l -> l.range));
 		Assert.pass();
 	}
 }