From fb014751bbcf785b4e43b9f622ab8114d496be09 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Wed, 26 Apr 2017 08:17:33 +0200
Subject: Update test cases
---
t/having.t | 2 ++
1 file changed, 2 insertions(+)
(limited to 't/having.t')
diff --git a/t/having.t b/t/having.t
index 3be2935..7c3a67e 100644
--- a/t/having.t
+++ b/t/having.t
@@ -19,3 +19,5 @@ $config.read({
ok $config.has("a"), "Check existence of simple key";
ok $config.has("b.c"), "Check existence of nested key";
+ok $config.has(["a"]), "Check existence of simple key using array";
+ok $config.has(["b", "c"]), "Check existence of nested key using array";
--
cgit v1.1
From 37c38cd5771a3aa6eb7b203f8d38ad3cc46faac8 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Wed, 26 Apr 2017 08:19:53 +0200
Subject: Update test plans
---
t/having.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 't/having.t')
diff --git a/t/having.t b/t/having.t
index 7c3a67e..0627ed5 100644
--- a/t/having.t
+++ b/t/having.t
@@ -4,7 +4,7 @@ use v6.c;
use Test;
use lib "lib";
-plan 2;
+plan 4;
use Config;
--
cgit v1.1