]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commit
Don't assign results in check blocks
authorVincent Pit <vince@profvince.com>
Sat, 24 Jan 2009 15:06:26 +0000 (16:06 +0100)
committerVincent Pit <vince@profvince.com>
Sat, 24 Jan 2009 15:06:26 +0000 (16:06 +0100)
commitc78c1790ebe43372ca405385d4cc053121b53ba0
tree07e304b46a6cb16ef95647fed8e47afe2eb47510
parent1b88e230428d6cc4f3ff364fbcfd7f5c1a40fedc
Don't assign results in check blocks

If the block croaks, the result won't be reset, which makes the interpretation of the test results more difficult. This requires check() to correctly forward scalar context to the block.
t/20-get.t
t/25-copy.t
t/28-uvar.t
t/30-scalar.t
t/31-array.t
t/32-hash.t
t/lib/Variable/Magic/TestWatcher.pm