END block cleanups

This commit is contained in:
Colin Kuskie 2010-06-13 21:19:17 -07:00
parent 2c1e2b9d3e
commit f50d3b7adb
5 changed files with 7 additions and 24 deletions

View file

@ -20,6 +20,7 @@ use WebGUI::Session;
use Test::More tests => 90; # increment this value for each test you create
installBadLocale();
WebGUI::Test->addToCleanup(sub { unlink File::Spec->catfile(WebGUI::Test->lib, qw/WebGUI i18n BadLocale.pm/); });
my $session = WebGUI::Test->session;
@ -305,6 +306,4 @@ sub installBadLocale {
);
}
END {
unlink File::Spec->catfile(WebGUI::Test->lib, qw/WebGUI i18n BadLocale.pm/);
}
#vim:ft=perl