summaryrefslogtreecommitdiff
path: root/test/simplestore.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/simplestore.t')
-rwxr-xr-xtest/simplestore.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/simplestore.t b/test/simplestore.t
index bbeea0d..9c16f84 100755
--- a/test/simplestore.t
+++ b/test/simplestore.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
use Test::More tests => 7;
-my $testfile = "/tmp/envstore-test-$$";
+my $testfile = "/tmp/simplestore-test-$$";
my $hash;
@@ -23,3 +23,5 @@ is($hash->{dude}, "dudette\nfoo", 'load: preserve hash keys');
$hash = {foo => "moose\nbaz"};
$hash = load($testfile, $hash);
is($hash->{foo}, "bar\nbar", 'load: overwrite conflicting hash keys');
+
+unlink($testfile);