Skip to content

Commit

Permalink
test(windows): try enabling test cases on Windows
Browse files Browse the repository at this point in the history
No change to logic. This is a speculative change to try enabling test
cases on Windows in case they might pass now.
  • Loading branch information
nfischer committed Jun 23, 2024
1 parent 1baf550 commit ee95844
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,6 @@ describe('proxy', function describeproxy() {
});

it('handles ShellStrings as arguments', (done) => {
if (!unix()) {
// See the TODO below.
console.log('Skipping unix-only test case');
done();
return;
}
shell.touch('file.txt');
fs.existsSync('file.txt').should.equal(true);
shell[delVarName](shell.ShellString('file.txt'));
Expand Down Expand Up @@ -244,12 +238,6 @@ describe('proxy', function describeproxy() {

describe('security', () => {
it('handles unsafe filenames', (done) => {
if (!unix()) {
// See the TODO below.
console.log('Skipping unix-only test case');
done();
return;
}
const fa = 'a.txt';
const fb = 'b.txt';
const fname = `${fa};${fb}`;
Expand All @@ -269,12 +257,6 @@ describe('proxy', function describeproxy() {
});

it('avoids globs', (done) => {
if (!unix()) {
// See the TODO below.
console.log('Skipping unix-only test case');
done();
return;
}
const fa = 'a.txt';
const fglob = '*.txt';
shell.exec('echo hello world').to(fa);
Expand Down

0 comments on commit ee95844

Please sign in to comment.