We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a000988 commit dfa4f22Copy full SHA for dfa4f22
test/win-path-sep.js
@@ -1,4 +1,12 @@
1
const t = require('tap')
2
+t.test('path separator /', t => {
3
+ const mm = t.mock('../', { path: { sep: '/' }})
4
+
5
+ t.equal(mm('x/y/z', 'x/y/*/z'), false)
6
+ t.equal(mm('x/y/w/z', 'x/y/*/z'), true)
7
+ t.end()
8
+})
9
10
t.test('path separator \\', t => {
11
const mm = t.mock('../', { path: { sep: '\\' }})
12
0 commit comments