コード例 #1
0
ファイル: DescriptionTest.php プロジェクト: ravishtiwari/iCal
 public function testAllowsNewLines()
 {
     $testString = "New String \n New Line";
     $description = new Description($testString);
     $this->assertEquals(str_replace("\n", "\\n", $testString), $description->getEscapedValue());
 }