aboutsummaryrefslogtreecommitdiff
path: root/t/setting.t
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2017-04-26 08:17:33 +0200
committerPatrick Spek <p.spek@tyil.nl>2017-04-26 08:17:33 +0200
commitfb014751bbcf785b4e43b9f622ab8114d496be09 (patch)
tree08cb12d101c47ee93286b9c42840ff068f367e81 /t/setting.t
parent8cc5724b273133ce645589b7c7e0cacd60276360 (diff)
Update test cases
Diffstat (limited to 't/setting.t')
-rw-r--r--t/setting.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/setting.t b/t/setting.t
index d9f0854..18790cf 100644
--- a/t/setting.t
+++ b/t/setting.t
@@ -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";