aboutsummaryrefslogtreecommitdiff
path: root/t/setting.t
blob: d9f08549656f1d4b1453e2ef43f0ca7a26eef3f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /usr/bin/env perl6

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

plan 2;

use Config;

my $config = Config.new();

ok $config.set("a", "test").get("a") eq "test", "Setting simple key";
ok $config.set("b.c", "test").get("b.c") eq "test", "Setting nested key";