Skip to content

Commit a0eee7d

Browse files
committed
Fix unit tests
1 parent 867282e commit a0eee7d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/unit/config/sfCompileConfigHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
sfConfig::set('sf_debug', true);
2323
$data = $handler->execute(array($dir.'simple.yml'));
24-
$t->ok(false !== strpos($data, 'class sfInflector'.PHP_EOL.'{'.PHP_EOL.' /**'), '->execute() return complete classe codes');
24+
$t->ok(false !== strpos($data, "class sfInflector\n{\n /**"), '->execute() return complete classe codes');
2525

2626
sfConfig::set('sf_debug', false);
2727
$data = $handler->execute(array($dir.'simple.yml'));
28-
$t->ok(false !== strpos($data, 'class sfInflector { public'), '->execute() return minified classe codes');
28+
$t->ok(false !== strpos($data, "class sfInflector\n{\n public"), '->execute() return minified classe codes');

test/unit/yaml/sfYamlInlineTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
'02333' => 02333,
3131
'.Inf' => -log(0),
3232
'-.Inf' => log(0),
33-
'123456789123456789' => '123456789123456789',
33+
'123456789123456789000' => '123456789123456789000',
3434
'"foo\r\nbar"' => "foo\r\nbar",
3535
"'foo#bar'" => 'foo#bar',
3636
"'foo # bar'" => 'foo # bar',

0 commit comments

Comments
 (0)