Debian Codegraph @

t/18non-contiguous-groups.t

raw symbols SCIP
1 #!/usr/bin/perl -T
2
3 # This script attempts to reproduce:
4 # https://sourceforge.net/tracker/index.php?func=detail&aid=1720915&group_id=6926&atid=106926
5
6 use strict;
7 use warnings;
8
9 use Test::More tests => 1;
10 use File::Spec;
11
12 use Config::IniFiles;
13
14 my $filename = File::Spec->catfile( File::Spec->curdir(), "t",
15 "non-contiguous-groups.ini", );
16
17 {
18 my $cfg = Config::IniFiles->new( -file => $filename );
19
20 my @members = $cfg->GroupMembers("A");
21
22 # TEST
23 is_deeply( \@members, [ "A 1", "A 2", "A 3" ], );
24 }
25