diff --git a/tests/thinkphp/library/think/templateTest.php b/tests/thinkphp/library/think/templateTest.php index fb7725c6..dad34f99 100644 --- a/tests/thinkphp/library/think/templateTest.php +++ b/tests/thinkphp/library/think/templateTest.php @@ -326,7 +326,7 @@ EOF; ]; $data = ['name' => 'value']; $template->layout('layout')->display('display', $data, $config); - $this->expectOutputString('
value
'); + $this->expectOutputString('value'); } public function testFetch()