aboutsummaryrefslogtreecommitdiff
path: root/t/read.t
diff options
context:
space:
mode:
Diffstat (limited to 't/read.t')
-rw-r--r--t/read.t15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/read.t b/t/read.t
new file mode 100644
index 0000000..a65e6e8
--- /dev/null
+++ b/t/read.t
@@ -0,0 +1,15 @@
+#! /usr/bin/env perl6
+
+use v6.c;
+use Test;
+use lib "lib";
+
+use Config;
+
+plan 3;
+
+my $config = Config.new();
+
+ok $config.read("t/test.yaml");
+ok $config.get("a") eq "a";
+ok $config.get("b.c") eq "c";