MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / ensureArrayContainsArray

Function ensureArrayContainsArray

src/test/helpers.ts:866–871  ·  view source on GitHub ↗
(haystack: T[], needle: T[])

Source from the content-addressed store, hash-verified

864}
865
866export function ensureArrayContainsArray<T>(haystack: T[], needle: T[]) {
867 assert.ok(
868 arrayContainsArray(haystack, needle),
869 `Did not find ${needle} in ${haystack}`,
870 );
871}
872
873export function ensureWorkspaceSymbol(symbols: vs.SymbolInformation[], name: string, kind: vs.SymbolKind, containerName: string | undefined, uriOrMatch: vs.Uri | { endsWith: string }): void {
874 const symbol = symbols.find((f) =>

Calls 1

arrayContainsArrayFunction · 0.90

Tested by

no test coverage detected