From 8f5e92e1ed143bf2afd095a44ae6bb597ab7a5dc Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Fri, 13 Sep 2013 13:28:11 +0200 Subject: NPTest: ensure all systems use same amount of whitespace diff --git a/NPTest.pm b/NPTest.pm index c0897d8..c719776 100644 --- a/NPTest.pm +++ b/NPTest.pm @@ -462,7 +462,10 @@ sub SaveCache $dataDumper->Terse(1); $dataDumper->Sortkeys(1); - print $fileHandle $dataDumper->Dump(); + my $data = $dataDumper->Dump(); + $data =~ s/^\s+/ /gmx; # make sure all systems use same amount of whitespace + $data =~ s/^\s+}/}/gmx; + print $fileHandle $data; $fileHandle->close(); -- cgit v0.10-9-g596f