Skip to content

Commit

Permalink
Revert "* Work around unit test problem caused by UTF-8."
Browse files Browse the repository at this point in the history
This reverts commit 6f3c3bc.
  • Loading branch information
David Christensen committed May 2, 2016
1 parent 5c014d9 commit 7719042
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions lib/Vend/Safe.pm
Expand Up @@ -35,9 +35,7 @@ sub new {
my ($invocant, @args) = @_;

my $safe = Safe->new(@args);

## UTF-8 may cause testing problems on some systems
$invocant->initialize_safe_compartment($safe) unless $ENV{MINIVEND_TEST};
$invocant->initialize_safe_compartment($safe);

return $safe;
}
Expand Down
3 changes: 0 additions & 3 deletions test.pl
Expand Up @@ -30,9 +30,6 @@
die "Must be in build directory\n" unless -d 'blib';
die "No tests defined for Windows\n" if $^O =~ /win32/i;

### This tells certain modules to ignore some initialization when doing unit tests
$ENV{MINIVEND_TEST} = 1;

$ENV{MINIVEND_ROOT} = "$cur_dir/blib";
$ENV{MINIVEND_PORT} = 8786 unless defined $ENV{MINIVEND_PORT};

Expand Down

0 comments on commit 7719042

Please sign in to comment.