Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelroecker committed Jul 14, 2016
1 parent 8402ad8 commit a4cefc5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
composer.phar
composer.lock
composer-test.lock
Expand Down
2 changes: 1 addition & 1 deletion src/GlW3CValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private function sendToW3C($w3curl, $validator, $selector, $field, $htmltag, $fi

$html = new GlHtml($html);

if ($html->get("$selector")) {
if ($html->get($selector)) {
return null;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/GlValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function (SplFileInfo $file) use (&$count) {
"w3c_css_glicer.html"
];

$this->assertNotEquals(NULL, $result["test1/css/glicer.css"]);
$this->assertEquals(NULL, $result["test1/css/glicer.css"]);
$this->assertEquals(NULL,$result["test1/index.html"]);
$this->assertNotEquals(NULL, $result["test2/css/glicer.css"]);
$this->assertNotEquals(NULL, $result["test2/index.html"]);
Expand Down

0 comments on commit a4cefc5

Please sign in to comment.