diff --git a/.travis.yml b/.travis.yml index fa385cf..4edbe3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,6 @@ language: perl perl: - "5.24" - "5.22" - #- "5.20" - #- "5.18" - #- "5.16" - #- "5.14" - #- "5.12" - #- "5.10" - "dev" # installs latest developer release of perl (e.g. 5.21.8) - "blead" # builds perl from git diff --git a/t/spaces.t b/t/spaces.t index dc7c936..cd2e30f 100644 --- a/t/spaces.t +++ b/t/spaces.t @@ -1,12 +1,13 @@ -use strict; +use strict; # -*- mode: cperl use warnings; use Test::More 0.96; use Test::Warnings; +use lib qw(lib/ ../lib); # For local testing use_ok('HTML::FormatText'); is( HTML::FormatText->format_string('| |'), "| |\n", 'Check for spaces emitted when fed spaces' ); -is( HTML::FormatText->format_string('| |'), "| |\n", 'Check for spaces emitted when fed  ' ); +is( HTML::FormatText->format_string('| |'), "|\xA0|\n", 'Check for spaces emitted when fed  ' ); # finish up done_testing();