13
unless ( $ENV{DISPLAY} or $^O eq 'MSWin32' ) {
14
plan skip_all => 'Needs DISPLAY';
24
is( Padre::Util::newline_type("...") => "None", "None" );
25
is( Padre::Util::newline_type(".$CR.$CR.") => "MAC", "Mac" );
26
is( Padre::Util::newline_type(".$LF.$LF.") => "UNIX", "Unix" );
27
is( Padre::Util::newline_type(".$CRLF.$CRLF.") => "WIN", "Windows" );
28
is( Padre::Util::newline_type(".$LF.$CR.") => "Mixed", "Mixed" );
29
is( Padre::Util::newline_type(".$CR.$LF.") => "Mixed", "Mixed" );
30
is( Padre::Util::newline_type(".$CRLF.$LF.") => "Mixed", "Mixed" );
31
is( Padre::Util::newline_type(".$LF.$CRLF.") => "Mixed", "Mixed" );
32
is( Padre::Util::newline_type(".$CR.$CRLF.") => "Mixed", "Mixed" );
33
is( Padre::Util::newline_type(".$CRLF.$CR.") => "Mixed", "Mixed" );
34
is( Padre::Util::newline_type(".$CR$LF$CR.") => "Mixed", "Mixed" );
35
is( Padre::Util::newline_type(".$CR$LF$LF.") => "Mixed", "Mixed" );