summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/10-form.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/10-form.t b/t/10-form.t
index 0920d058..5a37480c 100644
--- a/t/10-form.t
+++ b/t/10-form.t
@@ -73,6 +73,9 @@
use strict;
use warnings;
+
+$ENV{TMPDIR} = 't/var';
+
use Test::More;
plan skip_all => 'Trap tests could crash Perl on Windows' if $^O eq 'MSWin32';
eval "use Test::Trap";
@@ -85,8 +88,6 @@ use IO::String;
use LedgerSMB::Form;
-$ENV{TMPDIR} = "t/var";
-
sub form_info_func {
return $_[0];
}