Lines Matching refs:title
27 my $title;
30 $title = "parseFirstEOL: Empty string.";
31 ok(!defined(firstEOLInString("")), $title);
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);
54 $title = "parseFirstEOL: Line with a mix of line endings.";
55 ok(firstEOLInString("This line contains a mix of line endings.\r\n\r\n\r\r\n\n\n\n") eq "\r\n", $title);