diff options
author | Patrick Spek <p.spek@tyil.nl> | 2017-04-23 21:24:26 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2017-04-23 21:24:26 +0200 |
commit | 9687382b803ec0dc5a7dd55be88b53a4264215f9 (patch) | |
tree | e522d65c4555acabcc282e87e6c75a799bd3aa38 /t/setting.t |
Initial commit
Diffstat (limited to 't/setting.t')
-rw-r--r-- | t/setting.t | 14 |
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"; |