From 171a2fab109c8b53b60354f7ccabffbc3a7fa35c Mon Sep 17 00:00:00 2001 From: Adrien Loison Date: Sat, 2 Feb 2019 09:46:06 +0100 Subject: [PATCH] Fix test failure message --- tests/Spout/Writer/ODS/WriterTest.php | 2 +- tests/Spout/Writer/XLSX/WriterTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Spout/Writer/ODS/WriterTest.php b/tests/Spout/Writer/ODS/WriterTest.php index a362d5b..df71563 100644 --- a/tests/Spout/Writer/ODS/WriterTest.php +++ b/tests/Spout/Writer/ODS/WriterTest.php @@ -441,7 +441,7 @@ class WriterTest extends TestCase $this->writeToODSFile($dataRows, $fileName); - $this->assertValueWasWritten($fileName, 'I'm in "great" mood', 'Quotes should not be escaped'); + $this->assertValueWasWritten($fileName, 'I'm in "great" mood', 'Quotes should be escaped'); $this->assertValueWasWritten($fileName, 'This <must> be escaped & tested', '<, > and & should be escaped'); } diff --git a/tests/Spout/Writer/XLSX/WriterTest.php b/tests/Spout/Writer/XLSX/WriterTest.php index bfb4747..e63767b 100644 --- a/tests/Spout/Writer/XLSX/WriterTest.php +++ b/tests/Spout/Writer/XLSX/WriterTest.php @@ -498,7 +498,7 @@ class WriterTest extends TestCase $this->writeToXLSXFile($dataRows, $fileName); - $this->assertInlineDataWasWrittenToSheet($fileName, 1, 'I'm in "great" mood', 'Quotes should not be escaped'); + $this->assertInlineDataWasWrittenToSheet($fileName, 1, 'I'm in "great" mood', 'Quotes should be escaped'); $this->assertInlineDataWasWrittenToSheet($fileName, 1, 'This <must> be escaped & tested', '<, > and & should be escaped'); }