Convert t/op/magic.t to test.pl, strict and warnings.
authorNicholas Clark <nick@ccl4.org>
Sun, 13 Mar 2011 15:16:15 +0000 (15:16 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 13 Mar 2011 15:16:15 +0000 (15:16 +0000)
commitead3e2795abc84cb11c00e977613ee250337ac2f
tree61ec9d07b40cd769478253505f7384a25cd72f87
parentd7c80187036be58c864290cfc30e77b70a3e019d
Convert t/op/magic.t to test.pl, strict and warnings.

Use ok() rather than the more "obvious" is(), cmp_ok() etc to strictly control
the number of accesses made to the passed in value. For example, is() accesses
its $got more than once, which defeats the purpose of this test.
t/op/gmagic.t