We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fce2c3c commit 9459fa4Copy full SHA for 9459fa4
1 file changed
src/Tests/Component/CalendarTest.php
@@ -91,6 +91,18 @@ public function testSetTimezone()
91
}
92
93
94
+ /**
95
+ * Test line endings of description
96
+ */
97
+ public function testDescriptionLineEndings()
98
+ {
99
+ $calendar = new Calendar();
100
+ $event = $calendar->newEvent();
101
+ $event->setDescription("Some description\r\nwith invalid line endings.");
102
+ $this->assertEquals("Some description\nwith invalid line endings.", $event->getProperty('DESCRIPTION'));
103
+ }
104
+
105
106
/**
107
* Get calendar test config
108
*
0 commit comments