aboutsummaryrefslogtreecommitdiff
path: root/t/setting.t
diff options
context:
space:
mode:
Diffstat (limited to 't/setting.t')
-rw-r--r--t/setting.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/setting.t b/t/setting.t
new file mode 100644
index 0000000..3e36271
--- /dev/null
+++ b/t/setting.t
@@ -0,0 +1,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";
+ok $config.set("b.c", "test").get("b.c") eq "test";