diff options
author | Patrick Spek <p.spek@tyil.nl> | 2017-04-23 21:31:18 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2017-04-23 21:31:18 +0200 |
commit | a5c9ad058898d4467cdc6993a9c1b3b1a096935f (patch) | |
tree | 328a326cc926c3a46e9daea253e5e3963ee2d8f9 /t/read.t |
Initial commit
Diffstat (limited to 't/read.t')
-rw-r--r-- | t/read.t | 15 |
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"; |