END block cleanups.

This commit is contained in:
Colin Kuskie 2010-06-07 20:10:54 -07:00
parent 9fb7b23687
commit 1770e3945c
13 changed files with 22 additions and 86 deletions

View file

@ -85,8 +85,7 @@ if ($cookieName eq "") {
}
$config->set('privateArray', ['a', 'b', 'c']);
WebGUI::Test->addToCleanup(CODE => sub { $config->delete('privateArray')});
cmp_bag($config->get('privateArray'), ['a', 'b', 'c'], 'set: array, not scalar');
END {
$config->delete('privateArray');
}
#vim:ft=perl