Skip to content

Commit

Permalink
parse_file was never tested; fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Parsons committed Nov 5, 2015
1 parent 6abfea1 commit 1b3ec9d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion t/01-parser.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 42;
plan 44;

use Config::INI;

Expand Down Expand Up @@ -152,3 +152,17 @@ my %ni = Config::INI::parse($ninth);

pass 'ninth config parsed';
is-deeply %ni, { 'Hello... world' => {} };

my $tenth = q{t/test00.ini};

my %te = Config::INI::parse_file($tenth);

pass 'tenth config (file) parsed';
is-deeply %te, {
'_' => {
foo => 'comma, separated, values',
ano => 'ther',
ki => 'waliu',
asd => 'esd'
}
};

0 comments on commit 1b3ec9d

Please sign in to comment.