Skip to content

Commit

Permalink
Fix a "Undefined variable: €" error in Tests\JSMin\JSMinTest::testFun…
Browse files Browse the repository at this point in the history
…cOverload
  • Loading branch information
hjtappe committed Mar 24, 2015
1 parent b40a7e6 commit 6dd8bd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Tests/JSMin/JSMinTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public function testFuncOverload() {
return;
}

$input = "function(s) { return /^[£$?.]/.test(s); }";
$expected = "function(s){return /^[£$?.]/.test(s);}";
$input = 'function(s) { return /^[£$€?.]/.test(s); }';
$expected = 'function(s){return /^[£$€?.]/.test(s);}';
$this->assertEquals($expected, JSMin::minify($input));
}

Expand Down

0 comments on commit 6dd8bd1

Please sign in to comment.