Skip to content

Commit

Permalink
Merge pull request #4316 from eslint/issue4315
Browse files Browse the repository at this point in the history
Fix: Make tests compatible with Windows (fixes #4315)
  • Loading branch information
ilyavolodin committed Nov 2, 2015
2 parents d6a9e52 + 770761f commit c079aa8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/lib/util/glob-util.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ describe("globUtil", function() {
assert.deepEqual(result, ["lib/**/*.js", "tests/**/*.js"]);
});

it("should convert a directory name with a leading slash into a glob pattern", function() {
var patterns = ["/lib"];
var result = globUtil.resolveFileGlobPatterns(patterns);

assert.deepEqual(result, ["/lib/**/*.js"]);
});

it("should remove leading './' from glob patterns", function() {
var patterns = ["./lib"];
var result = globUtil.resolveFileGlobPatterns(patterns);
Expand Down

0 comments on commit c079aa8

Please sign in to comment.