Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite130ac0

Browse files
author
Edward Z. Yang ext:(%22)
committed
Fix some test failures.
1 parent1cbacc5 commite130ac0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎tests/HTML5/TestDataTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ class HTML5_TestDataTest extends UnitTestCase
77
functiontestSample() {
88
$data =newHTML5_TestData(dirname(__FILE__) .'/TestDataTest/sample.dat');
99
$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")
1212
));
1313
}
1414
functiontestStrDom() {

‎tests/HTML5/TokenizerPositionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ class HTML5_PositionTestableTokenizer extends HTML5_TestableTokenizer
77
public$outputLines =array();
88
public$outputCols =array();
99
private$characterTokens =array();
10-
protectedfunctionemitToken($token,$checkStream =true) {
11-
parent::emitToken($token,$checkStream);
10+
protectedfunctionemitToken($token,$checkStream =true,$dry =false) {
11+
parent::emitToken($token,$checkStream,$dry);
1212
// XXX: The tests should really include the parse errors, but I'm lazy.
1313
switch ($token['type']) {
1414
caseself::PARSEERROR:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp