[monitoring-plugins] Remove spaces from tests

RincewindsHat git at monitoring-plugins.org
Sun Oct 3 13:40:11 CEST 2021


 Module: monitoring-plugins
 Branch: master
 Commit: 280ae58ed8e340f8096cf37f60c84f99d6723537
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Sun Sep 26 00:34:44 2021 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=280ae58

Remove spaces from tests

---

 plugins/t/check_swap.t | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/t/check_swap.t b/plugins/t/check_swap.t
index e44adc9..de9e0f0 100644
--- a/plugins/t/check_swap.t
+++ b/plugins/t/check_swap.t
@@ -8,9 +8,9 @@ use strict;
 use Test::More tests => 8;
 use NPTest;
 
-my $successOutput = '/^SWAP OK - [0-9]+\% free \([0-9]+ MB out of [0-9]+ MB\)/';
-my $failureOutput = '/^SWAP CRITICAL - [0-9]+\% free \([0-9]+ MB out of [0-9]+ MB\)/';
-my $warnOutput    = '/^SWAP WARNING - [0-9]+\% free \([0-9]+ MB out of [0-9]+ MB\)/';
+my $successOutput = '/^SWAP OK - [0-9]+\% free \([0-9]+MB out of [0-9]+MB\)/';
+my $failureOutput = '/^SWAP CRITICAL - [0-9]+\% free \([0-9]+MB out of [0-9]+MB\)/';
+my $warnOutput    = '/^SWAP WARNING - [0-9]+\% free \([0-9]+MB out of [0-9]+MB\)/';
 
 my $result;
 



More information about the Commits mailing list