mirror of
https://github.com/shelljs/shelljs.git
synced 2026-01-25 16:07:37 +00:00
parent
d057e075a7
commit
9bf98dece9
@ -13,6 +13,7 @@ common.register('test', _test, {
|
||||
'S': 'socket',
|
||||
},
|
||||
wrapOutput: false,
|
||||
allowGlobbing: false,
|
||||
});
|
||||
|
||||
|
||||
|
||||
@ -65,6 +65,12 @@ result = shell.test('-L', 'resources/file1');
|
||||
assert.equal(shell.error(), null);
|
||||
assert.equal(result, false);
|
||||
|
||||
// regression #529
|
||||
result = shell.test('-f', 'resources/**/*.js');
|
||||
assert.equal(shell.error(), null);
|
||||
assert.equal(result, false);
|
||||
|
||||
|
||||
// link
|
||||
// Windows is weird with links so skip these tests
|
||||
if (common.platform !== 'win') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user