LineFoldingIssueTest.php 415 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Sabre\VObject;
  3. class LineFoldingIssueTest extends \PHPUnit_Framework_TestCase {
  4. function testRead() {
  5. $event = <<<ICS
  6. BEGIN:VCALENDAR\r
  7. BEGIN:VEVENT\r
  8. DESCRIPTION:TEST\\n\\n \\n\\nTEST\\n\\n \\n\\nTEST\\n\\n \\n\\nTEST\\n\\nTEST\\nTEST, TEST\r
  9. END:VEVENT\r
  10. END:VCALENDAR\r
  11. ICS;
  12. $obj = Reader::read($event);
  13. $this->assertEquals($event, $obj->serialize());
  14. }
  15. }