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 fbbf22e commit 5bdc1d6Copy full SHA for 5bdc1d6
test/basic.js
@@ -756,6 +756,17 @@ t.test('file: spec with non URI compatible components', t => {
756
t.end()
757
})
758
759
+t.test('file: spec with encoded URI components', t => {
760
+ t.has(normalizePaths(npa('file:/test_%23dir')), {
761
+ type: 'directory',
762
+ name: null,
763
+ rawSpec: 'file:/test_%23dir',
764
+ fetchSpec: '/test_#dir',
765
+ saveSpec: 'file:/test_#dir',
766
+ })
767
+ t.end()
768
+})
769
+
770
t.test('directory cwd has non URI compatible components', t => {
771
// eslint-disable-next-line max-len
772
const where = '/tmp/ !"$%&\'()*+,-.0123456789:;<=>@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~'
0 commit comments