use
strict;
use
warnings;
use
Test::More;
use
FindBin;
{
my
$config_builder
= SPVM::MyClass::ConfigBuilder->new(
x
=> 1);
is(
ref
$config_builder
,
'SPVM::MyClass::ConfigBuilder'
);
my
$config
= SPVM::Builder::Config->new(
file
=> __FILE__);
$config_builder
->build_config(
$config
);
is_deeply(
$config
->ccflags, [
'foo'
]);
}
done_testing;