From dc80751f9f1d90e4355bf4206eaaf0c66d7cc52f Mon Sep 17 00:00:00 2001 From: Stanislaw Pusep Date: Tue, 17 Mar 2015 15:40:15 +0100 Subject: [PATCH] UTF-8 is a must to test rainbarf! --- t/01-tmux.t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/t/01-tmux.t b/t/01-tmux.t index 0b2a7a0..8fcd913 100644 --- a/t/01-tmux.t +++ b/t/01-tmux.t @@ -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);