### ----------------------------------------------------
### -- Config::BINDish
### -- Licenses: Artistic-2.0
### -- Authors: Vadim Belman <vrurg@lflat.org>
### -- File: t/051-ext-module.rakutest
### ----------------------------------------------------
use v6.d;
use Test::Async;
use lib $?FILE.IO.parent(1).add('lib');
use Test051;

plan 2;
my $obj = Test051.new;

lives-ok { $obj.cfg.read: string => "ip 1.2.3.4;"; },
         "extension loaded by a module works";

is ~$obj.cfg.top.value("ip"), "1.2.3.4", "loaded extension works";

done-testing;


