From 688f830141dede6c2a3d898fa17ef6b77a67fe42 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 2 Jul 2009 13:59:48 +0200 Subject: test/simplestore.t: Unlink the test file when done --- test/simplestore.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3