You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.raiseError(`verifyReferencesAtPositionListContains failed - could not find the item: ${JSON.stringify(missingItem)} in the returned list: (${JSON.stringify(references)})`);
750
+
this.raiseError(`verifyReferencesAtPositionListContains failed - could not find the item: ${JSON.stringify(missingItem,undefined,2)} in the returned list: (${JSON.stringify(references,undefined,2)})`);
this.raiseError("Rename location count does not match result.\n\nExpected: "+JSON.stringify(ranges)+"\n\nActual:"+JSON.stringify(references));
879
+
this.raiseError("Rename location count does not match result.\n\nExpected: "+JSON.stringify(ranges,undefined,2)+"\n\nActual:"+JSON.stringify(references,undefined,2));
880
880
}
881
881
882
882
ranges=ranges.sort((r1,r2)=>r1.start-r2.start);
@@ -889,7 +889,7 @@ namespace FourSlash {
889
889
if(reference.textSpan.start!==range.start||
890
890
ts.textSpanEnd(reference.textSpan)!==range.end){
891
891
892
-
this.raiseError("Rename location results do not match.\n\nExpected: "+JSON.stringify(ranges)+"\n\nActual:"+JSON.stringify(references));
892
+
this.raiseError("Rename location results do not match.\n\nExpected: "+JSON.stringify(ranges,undefined,2)+"\n\nActual:"+JSON.stringify(references,undefined,2));
893
893
}
894
894
}
895
895
}
@@ -973,7 +973,7 @@ namespace FourSlash {
973
973
}
974
974
else{
975
975
if(actual){
976
-
this.raiseError(`Expected no signature help, but got "${JSON.stringify(actual)}"`);
976
+
this.raiseError(`Expected no signature help, but got "${JSON.stringify(actual,undefined,2)}"`);
this.raiseError(`verifyNavigationItemsListContains failed - could not find the item: ${JSON.stringify(missingItem)} in the returned list: (${JSON.stringify(items)})`);
1967
+
this.raiseError(`verifyNavigationItemsListContains failed - could not find the item: ${JSON.stringify(missingItem,undefined,2)} in the returned list: (${JSON.stringify(items,undefined,2)})`);
1968
1968
}
1969
1969
}
1970
1970
@@ -2001,7 +2001,7 @@ namespace FourSlash {
2001
2001
}
2002
2002
2003
2003
constmissingItem={name: name,kind: kind};
2004
-
this.raiseError(`verifyGetScriptLexicalStructureListContains failed - could not find the item: ${JSON.stringify(missingItem)} in the returned list: (${JSON.stringify(items,null," ")})`);
2004
+
this.raiseError(`verifyGetScriptLexicalStructureListContains failed - could not find the item: ${JSON.stringify(missingItem,undefined,2)} in the returned list: (${JSON.stringify(items,undefined,2)})`);
this.raiseError(`verifyOccurrencesAtPositionListContains failed - could not find the item: ${JSON.stringify(missingItem)} in the returned list: (${JSON.stringify(occurrences)})`);
2069
+
this.raiseError(`verifyOccurrencesAtPositionListContains failed - could not find the item: ${JSON.stringify(missingItem,undefined,2)} in the returned list: (${JSON.stringify(occurrences,undefined,2)})`);
this.raiseError(`verifyDocumentHighlightsAtPositionListContains failed - could not find the item: ${JSON.stringify(missingItem)} in the returned list: (${JSON.stringify(documentHighlights)})`);
2108
+
this.raiseError(`verifyDocumentHighlightsAtPositionListContains failed - could not find the item: ${JSON.stringify(missingItem,undefined,2)} in the returned list: (${JSON.stringify(documentHighlights,undefined,2)})`);
0 commit comments