aboutsummaryrefslogtreecommitdiff
path: root/t/having.t
diff options
context:
space:
mode:
Diffstat (limited to 't/having.t')
-rw-r--r--t/having.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/having.t b/t/having.t
index 3be2935..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;
@@ -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";