}
ok(my $abs_path = abs_path($0), "abs_path");
-$abs_path =~ s#/[^/]*$#/#;
+$abs_path =~ s#/[^/]*$#/#; #fix-vim
my $module = 'WebPAC::Input::DBF';
diag "testing with $module", $debug ? ' with debug' : '';
ok(my $db = $input->open(
path => "$abs_path/data/cas2000.dbf",
input_config => {
- xmapping => [
- { 'foobar' => [ '200', 'a' ] },
- ],
+ mapping_path => "$abs_path/conf/input/dbf/cas2000.yml",
},
), "open");
ok(my $size = $input->size, "size");