Mercurial > hg > rc1
comparison vendor/sabre/vobject/tests/VObject/LineFoldingIssueTest.php @ 7:430dbd5346f7
vendor sabre as distributed
author | Charlie Root |
---|---|
date | Sat, 13 Jan 2018 09:06:10 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6:cec75ba50afc | 7:430dbd5346f7 |
---|---|
1 <?php | |
2 | |
3 namespace Sabre\VObject; | |
4 | |
5 class LineFoldingIssueTest extends \PHPUnit_Framework_TestCase { | |
6 | |
7 function testRead() { | |
8 | |
9 $event = <<<ICS | |
10 BEGIN:VCALENDAR\r | |
11 BEGIN:VEVENT\r | |
12 DESCRIPTION:TEST\\n\\n \\n\\nTEST\\n\\n \\n\\nTEST\\n\\n \\n\\nTEST\\n\\nTEST\\nTEST, TEST\r | |
13 END:VEVENT\r | |
14 END:VCALENDAR\r | |
15 | |
16 ICS; | |
17 | |
18 $obj = Reader::read($event); | |
19 $this->assertEquals($event, $obj->serialize()); | |
20 | |
21 } | |
22 | |
23 } |