diff options
author | Patrick Spek <Tyil@users.noreply.github.com> | 2017-04-26 09:57:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 09:57:39 +0200 |
commit | 845c2d891e12b7abe006aa1e36c1201266b29a51 (patch) | |
tree | 0ebf21647bd4bcea5b71a493302bea264a4f87e5 /t/having.t | |
parent | acdac7ea2f81e739c7e2b5cb37d3f3cdc71962a8 (diff) | |
parent | 7313624f98295bb80416009cf21012cec10bdc15 (diff) |
Merge pull request #2 from scriptkitties/with-hash-mergev1.1.0
Merge hashes instead of overwriting them
Diffstat (limited to 't/having.t')
-rw-r--r-- | t/having.t | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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"; |