diff --git a/tests/TransphpormTest.php b/tests/TransphpormTest.php index d7ccd4f..383cc4f 100644 --- a/tests/TransphpormTest.php +++ b/tests/TransphpormTest.php @@ -1647,9 +1647,9 @@ public function testRuleWithNewline() { public function testCommentBlock() { $tss = 'div {content: "foo"} - + /*.comment {foo: bar} */ - + span {content: "bar"} '; @@ -1769,7 +1769,7 @@ public function testSetLocale() { $template2 = new \Transphporm\Builder($xml, $tss); $template2->setLocale('enUS'); - $this->assertEquals('
' . date('m/d/Y') . '
', $template1->output()->body); + $this->assertEquals('
' . date('m/d/Y') . '
', $template2->output()->body); } public function testDebugOutput() { @@ -1798,7 +1798,7 @@ public function testGreater() { $template = new Builder($xml, $tss); $this->assertEquals('
true
', $this->stripTabs($template->output()->body)); - + } public function testLess() { @@ -1814,7 +1814,7 @@ public function testLess() { $template = new Builder($xml, $tss); $this->assertEquals('
true
', $this->stripTabs($template->output()->body)); - + } public function testFillSelect() { @@ -1837,7 +1837,7 @@ public function testFillSelect() { $this->assertEquals($this->stripTabs(''), $this->stripTabs($output)); +'), $this->stripTabs($output)); } @@ -1846,10 +1846,10 @@ public function testFillSelect() { public function testFillSelectWithNull() { $xml = ''; - $tss = 'select option {repeat: data(options); } + $tss = 'select option {repeat: data(options); } select option { content: iteration(); } select option:attr(value) { content: key(); } - + '; $template = new Builder($xml, $tss); @@ -1865,7 +1865,7 @@ public function testFillSelectWithNull() { $this->assertEquals($this->stripTabs(''), $this->stripTabs($output)); +'), $this->stripTabs($output)); } @@ -1891,7 +1891,7 @@ public function testKeyBeforeIteration() { $this->assertEquals($this->stripTabs(''), $this->stripTabs($output)); +'), $this->stripTabs($output)); } @@ -1917,7 +1917,7 @@ public function testRepeatAtEnd() { $this->assertEquals($this->stripTabs(''), $this->stripTabs($output)); +'), $this->stripTabs($output)); }