aboutsummaryrefslogtreecommitdiff
path: root/t/having.t
blob: d0ca5b36ca445a395403aca5db03256dd6ed26d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /usr/bin/env perl6

use v6.c;
use Test;
use lib "lib";

plan 2;

use Config;

my $config = Config.new();

$config.read({
    a => "a",
    b => {
        c => "c"
    }
});

ok $config.has("a");
ok $config.has("b.c");