Skip to content

Commit

Permalink
test: enable glob test case on Windows
Browse files Browse the repository at this point in the history
No change to logic. This test case seems to pass on GitHub Actions so I
think we can just reenable this.
  • Loading branch information
nfischer committed Jun 24, 2024
1 parent 3dee128 commit 767d604
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,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 All @@ -287,7 +281,6 @@ describe('proxy', function describeproxy() {
} else {
shell.del(fglob);
}
// TODO(nfischer): this line fails on Windows
fs.existsSync(fglob).should.equal(false);
shell.cat(fa).toString().should.equal(`hello world${os.EOL}`);

Expand Down

0 comments on commit 767d604

Please sign in to comment.