aboutsummaryrefslogtreecommitdiff
path: root/t/setting.t
diff options
context:
space:
mode:
Diffstat (limited to 't/setting.t')
-rw-r--r--t/setting.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/setting.t b/t/setting.t
index d9f0854..7e3a457 100644
--- a/t/setting.t
+++ b/t/setting.t
@@ -4,7 +4,7 @@ use v6.c;
use Test;
use lib "lib";
-plan 2;
+plan 4;
use Config;
@@ -12,3 +12,5 @@ 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";
+ok $config.set(["d"], "test").get("d") eq "test", "Setting simple key using array";
+ok $config.set(["e", "f"], "test").get("e.f") eq "test", "Setting nested key using array";