Mercurial > pub > Impl
diff _test/config.t @ 422:b0481c071bea ref20150831
IMPL::Config::Container tests, YAMLConfiguration now works and tested
author | cin |
---|---|
date | Sun, 20 Aug 2017 00:20:41 +0300 |
parents | 3ed0c58e9da3 |
children |
line wrap: on
line diff
--- a/_test/config.t Sun Jul 16 22:59:39 2017 +0300 +++ b/_test/config.t Sun Aug 20 00:20:41 2017 +0300 @@ -3,8 +3,18 @@ use lib '../Lib'; use lib '.'; +use IMPL::Debug(); use IMPL::Test qw(run_plan); +$IMPL::Debug::ENABLE{'IMPL::Config::YAMLConfig'} = 1; + +IMPL::Debug->subscribe(sub { + my $text = join('', @_); + + $text =~ s/^/# /gm; + print "$text\n"; +}); + run_plan( qw( Test::Config::Container ) );