MCPcopy Create free account
hub / github.com/denoland/std / checkSpecialCaseParseFormat

Function checkSpecialCaseParseFormat

path/parse_format_test.ts:117–124  ·  view source on GitHub ↗
(
  path: typeof windows | typeof posix,
  testCases: ParseTestCase[],
)

Source from the content-addressed store, hash-verified

115}
116
117function checkSpecialCaseParseFormat(
118 path: typeof windows | typeof posix,
119 testCases: ParseTestCase[],
120) {
121 testCases.forEach(([element, expect]) => {
122 assertEquals(path.parse(element), expect);
123 });
124}
125
126function checkFormat(
127 path: typeof windows | typeof posix,

Callers 1

Calls 3

assertEqualsFunction · 0.90
forEachMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected