END block cleanups.

This commit is contained in:
Colin Kuskie 2010-06-07 20:10:54 -07:00 committed by Doug Bell
parent e222b6c4ef
commit 7ef9c6e6f2

View file

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