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 --- NPTest.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NPTest.pm b/NPTest.pm index c0897d8a..c719776a 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 v1.2.3