From b581648fe45f7965e984114841d4b774dcdb8a43 Mon Sep 17 00:00:00 2001
From: Slaven Rezic <[email protected]>
Date: Thu, 20 Sep 2018 16:46:17 +0200
Subject: [PATCH] deal with trailing (or missing) zeroes in version (RT
#127128)

---
t/app.t | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/app.t b/t/app.t
index 8c162f0..d668643 100644
--- a/t/app.t
+++ b/t/app.t
@@ -43,9 +43,9 @@ my $run = sub { $app->run() };
    # check run() without input
    $app->{'modules'} = ['Test::More'];
    my $ver = $Test::More::VERSION;
-    $ver = '1.3021350';
    $ver =~ s/0+$//;
-    stdout_is( $run, "$ver\n", 'run() ok - regular' );
+    my $ver_rx = qr{^\Q$ver\E0*\n$};
+    stdout_like( $run, $ver_rx, 'run() ok - regular' );
}

{
--
2.7.4