This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/op/tie.t: add tests for scalar(keys(%tied))
authorDavid Mitchell <davem@iabyn.com>
Thu, 20 Jul 2017 07:58:02 +0000 (08:58 +0100)
committerDavid Mitchell <davem@iabyn.com>
Thu, 27 Jul 2017 10:30:24 +0000 (11:30 +0100)
commita16ac36c3b97d0d80762b2900667f3759f354d9f
tree4d59b4c153c37f5b548bf0efe10ede0aa89d81e7
parente80717e766f2b07e86266e546391d45f27bd6fb3
t/op/tie.t: add tests for scalar(keys(%tied))

Test what methods it calls. Currently it calls FIRSTKEY() and then
NEXTKEY() x n, regardless of whether SCALAR() is present, although that
might change. This test codifies the current behaviour for now.
t/op/tie.t