Skip to content

Commit

Permalink
UTF-8 is a must to test rainbarf!
Browse files Browse the repository at this point in the history
  • Loading branch information
creaktive committed Mar 17, 2015
1 parent 706cade commit dc80751
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/01-tmux.t
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ use Test::More;
plan skip_all => qq(The platform $^O is unsupported)
if $^O !~ m{(?:darwin|freebsd|linux)}ix;

plan skip_all => q(UTF-8 not detected)
unless grep {
defined and m{\bUTF-?8\b}ix
} @ENV{qw{LANG LC_ALL LC_CTYPE}};

my $tmp = File::Temp->newdir;

local $ENV{RAINBARF} = q(/dev/null);
Expand Down

0 comments on commit dc80751

Please sign in to comment.