(haystack: T[], needle: T[])
| 864 | } |
| 865 | |
| 866 | export function ensureArrayContainsArray<T>(haystack: T[], needle: T[]) { |
| 867 | assert.ok( |
| 868 | arrayContainsArray(haystack, needle), |
| 869 | `Did not find ${needle} in ${haystack}`, |
| 870 | ); |
| 871 | } |
| 872 | |
| 873 | export 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) => |
no test coverage detected