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
assert.isTrue(items.length<=entries.length,`Amount of expected items in completion list [ ${items.length} ] is greater than actual number of items in list [ ${entries.length} ]`);
796
+
assert(items.length<=entries.length,`Amount of expected items in completion list [ ${items.length} ] is greater than actual number of items in list [ ${entries.length} ]`);
797
797
ts.zipWith(entries,items,(entry,item)=>{
798
798
assert.equal(entry.name,item,`Unexpected item in completion list`);
assert.isTrue(TestState.textSpansEqual(span,item.replacementSpan),this.assertionMessageAtLastKnownMarker(stringify(span)+" does not equal "+stringify(item.replacementSpan)+" replacement span for "+entryId));
3112
+
assert(TestState.textSpansEqual(span,item.replacementSpan),this.assertionMessageAtLastKnownMarker(stringify(span)+" does not equal "+stringify(item.replacementSpan)+" replacement span for "+entryId));
assert(isDeepEqual(a,b),msg||(()=>`Expected values to be deeply equal:\nExpected:\n${JSON.stringify(a,undefined,4)}\nActual:\n${JSON.stringify(b,undefined,4)}`));
53
+
}
54
+
exportfunctionlengthOf(a: ReadonlyArray<{}>,length: number,msg="Expected length to match."): void{
55
+
assert(a.length===length,msg);
56
+
}
57
+
exportfunctionthrows(cb: ()=>void,msg="Expected callback to throw"): void{
assert.isTrue(spansOnSingleLine.length===0||spansOnSingleLine[0].sourceMapSpan.emittedLine!==sourceMapSpan.emittedLine,"new file source map span should be on new line. We currently handle only that scenario");
288
+
assert(spansOnSingleLine.length===0||spansOnSingleLine[0].sourceMapSpan.emittedLine!==sourceMapSpan.emittedLine,"new file source map span should be on new line. We currently handle only that scenario");
`For project ${actualResultSingleProject.projectFileName}, the actual result is ${actualResultSingleProjectFileNameList}, while expected ${expectedResultSingleProjectFileNameList}`);
verifyContentHasString(outFileContent,`//# ${"sourceMappingURL"}=${outFileName}.map`);// Sometimes tools can sometimes see this line as a source mapping url comment, so we obfuscate it a little
0 commit comments