Make tests for gmagic on sub exit count fetches
authorFather Chrysostomos <sprout@cpan.org>
Fri, 22 Jul 2011 16:52:56 +0000 (09:52 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 22 Jul 2011 16:54:13 +0000 (09:54 -0700)
commit40914f83eabd350b52615a215aeb2704f7332495
treeafe6c7054fffb9c8b7be4587702078fa8b384f4a
parent7ffa7e7540d4523072b049e2d1285c34faabeeb9
Make tests for gmagic on sub exit count fetches

These tests, added in commit 767eda44 (when lvalue subs started auto-
vivifying, causing regular sub exit to have to call get-magic), were
not counting the number of fetches, but simply whether the fetches
were happening.  The number that was occurring was wrong until
7ffa7e75, which fixed symbolic refs to call magic the right number of
times.  But now that that’s fixed, we can count them.  So this commit
does just that.
t/op/gmagic.t