view vendor/sabre/vobject/tests/VObject/LineFoldingIssueTest.php @ 26:b2b6c0af2383

remove _ from name, lots of other hacks to get label context menu working
author Charlie Root
date Sun, 28 Jan 2018 11:32:20 -0500
parents 430dbd5346f7
children
line wrap: on
line source

<?php

namespace Sabre\VObject;

class LineFoldingIssueTest extends \PHPUnit_Framework_TestCase {

    function testRead() {

        $event = <<<ICS
BEGIN:VCALENDAR\r
BEGIN:VEVENT\r
DESCRIPTION:TEST\\n\\n \\n\\nTEST\\n\\n \\n\\nTEST\\n\\n \\n\\nTEST\\n\\nTEST\\nTEST, TEST\r
END:VEVENT\r
END:VCALENDAR\r

ICS;

        $obj = Reader::read($event);
        $this->assertEquals($event, $obj->serialize());

    }

}