( path: typeof windows | typeof posix, testCases: FormatTestCase[], )
| 124 | } |
| 125 | |
| 126 | function checkFormat( |
| 127 | path: typeof windows | typeof posix, |
| 128 | testCases: FormatTestCase[], |
| 129 | ) { |
| 130 | testCases.forEach((testCase) => { |
| 131 | assertEquals(path.format(testCase[0]), testCase[1]); |
| 132 | }); |
| 133 | } |
| 134 | |
| 135 | Deno.test("windows.parse()", function () { |
| 136 | checkParseFormat(windows, winPaths); |
no test coverage detected