File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ class HTML5_TestDataTest extends UnitTestCase
7
7
function testSample () {
8
8
$ data = new HTML5_TestData (dirname (__FILE__ ) . '/TestDataTest/sample.dat ' );
9
9
$ this ->assertIdentical ($ data ->tests , array (
10
- array ('data ' => "Foo \n " , 'des ' => "Bar \n " ),
11
- array ('data ' => "Foo \n " )
10
+ array ('data ' => "Foo " , 'des ' => "Bar " ),
11
+ array ('data ' => "Foo " )
12
12
));
13
13
}
14
14
function testStrDom () {
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ class HTML5_PositionTestableTokenizer extends HTML5_TestableTokenizer
7
7
public $ outputLines = array ();
8
8
public $ outputCols = array ();
9
9
private $ characterTokens = array ();
10
- protected function emitToken ($ token , $ checkStream = true ) {
11
- parent ::emitToken ($ token , $ checkStream );
10
+ protected function emitToken ($ token , $ checkStream = true , $ dry = false ) {
11
+ parent ::emitToken ($ token , $ checkStream, $ dry );
12
12
// XXX: The tests should really include the parse errors, but I'm lazy.
13
13
switch ($ token ['type ' ]) {
14
14
case self ::PARSEERROR :
You can’t perform that action at this time.
0 commit comments