Lines Matching full:ending
34 $title = "parseFirstEOL: Line without a line ending character";
35 ok(!defined(firstEOLInString("This line doesn't have a line ending character.")), $title);
38 $title = "parseFirstEOL: Line with Windows line ending.";
39 ok(firstEOLInString("This line ends with a Windows line ending.\r\n") eq "\r\n", $title);
42 $title = "parseFirstEOL: Line with Unix line ending.";
43 ok(firstEOLInString("This line ends with a Unix line ending.\n") eq "\n", $title);
46 $title = "parseFirstEOL: Line with Mac line ending.";
47 ok(firstEOLInString("This line ends with a Mac line ending.\r") eq "\r", $title);
50 $title = "parseFirstEOL: Line with Mac line ending followed by line without a line ending.";
51 ok(firstEOLInString("This line ends with a Mac line ending.\rThis line doesn't have a line ending.") eq "\r", $title);