Skip to content

Commit

Permalink
Autocommit: Build state toggled to FAIL
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesshore committed May 20, 2012
1 parent ba0d940 commit 29250f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/lint_runner.js
Expand Up @@ -129,10 +129,10 @@ describe("File list validation", function() {
expect(lint.validateFileList(testFiles, { asi: true })).to.be(true);
});

// it("should respect globals", function() {
// writeTestFile("a = 1;");
// expect(lint.validateFile(testFile, { undef: true }, { a: true })).to.be(true);
// });
it("should respect globals", function() {
writeTestFiles("a = 1;");
expect(lint.validateFile(testFiles, { undef: true }, { a: true })).to.be(true);
});

it("should pass when all files valid", function() {
writeTestFiles("var a=1;", "var b=1;", "var c=1;");
Expand Down

0 comments on commit 29250f7

Please sign in to comment.