### ----------------------------------------------------
### -- App::Racoco::Report::ReporterCoveralls
### -- Licenses: Artistic-2.0
### -- Authors: Mikhail Khorkov
### -- File: t/11-properties.rakutest
### ----------------------------------------------------
use Test;
use lib 'lib';
use App::Racoco::Report::ReporterCoveralls::Externals :properties;

plan 1;

my $racoco-config = (class :: { method get($key) { %*ENV{$key} } }).new;
my $properties = Properties.new(config => $racoco-config);

%*ENV{'KEY'} = "line1\n\nline2  ";
is $properties.get('KEY'), 'line1 line2', 'properties one line';

done-testing


