aboutsummaryrefslogtreecommitdiff
path: root/t/07-keys.t
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-11-15 09:22:32 +0100
committerPatrick Spek <p.spek@tyil.nl>2020-11-16 16:05:43 +0100
commitb5202e655b887bb563accbce8fa130616861e08c (patch)
treec910ff66574682703755b201e0020a179d99e3fa /t/07-keys.t
parent44e8b969f4232a659b08bcc145b9dc41d4ecef07 (diff)
Update tests
Diffstat (limited to 't/07-keys.t')
-rw-r--r--t/07-keys.t17
1 files changed, 8 insertions, 9 deletions
diff --git a/t/07-keys.t b/t/07-keys.t
index 2ba1762..f769dc3 100644
--- a/t/07-keys.t
+++ b/t/07-keys.t
@@ -2,20 +2,19 @@
use v6;
-use Config::Parser::NULL;
use Config;
use Test;
plan 1;
-my Config $c .= new.read: %(
- "a" => False,
- "b" => False,
- "c" => %(
- "a" => False,
- "b" => False,
- ),
-);
+my $c = Config.new.read({
+ a => False,
+ b => False,
+ c => {
+ a => False,
+ b => False,
+ },
+});
my @keys = < a b c.a c.b >;