Debian Codegraph @

t/08group.t

raw symbols SCIP
1 #!/usr/bin/perl
2
3 use strict;
4 use warnings;
5
6 use Test::More tests => 1;
7
8 use Config::IniFiles;
9
10 use lib "./t/lib";
11
12 use Config::IniFiles::TestPaths;
13
14 my $ini = Config::IniFiles->new( -file => t_file('test.ini') );
15 my $members;
16
17 # Test 1
18 # Group members with spaces
19
20 # TEST
21 is_deeply(
22 [ $ini->GroupMembers("group") ],
23 [ "group member one", "group member two", "group member three" ],
24 "Group members with spaces",
25 );
26
27 # Test 2
28 # Adding a new section - updating groups list
29
30 # Test 3
31 # Deleting a section - updating groups list