From 9687382b803ec0dc5a7dd55be88b53a4264215f9 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Sun, 23 Apr 2017 21:24:26 +0200
Subject: Initial commit
---
t/having.t | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 t/having.t
(limited to 't/having.t')
diff --git a/t/having.t b/t/having.t
new file mode 100644
index 0000000..d0ca5b3
--- /dev/null
+++ b/t/having.t
@@ -0,0 +1,21 @@
+#! /usr/bin/env perl6
+
+use v6.c;
+use Test;
+use lib "lib";
+
+plan 2;
+
+use Config;
+
+my $config = Config.new();
+
+$config.read({
+ a => "a",
+ b => {
+ c => "c"
+ }
+});
+
+ok $config.has("a");
+ok $config.has("b.c");
--
cgit v1.1