Skip to content

[PRC] Fixes failing test #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 3 additions & 2 deletions t/spaces.t
Original file line number Diff line number Diff line change
@@ -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 &nbsp' );
is( HTML::FormatText->format_string('| |'), "|\xA0|\n", 'Check for spaces emitted when fed &nbsp' );

# finish up
done_testing();