From 24a2dc5c0b3c8cd492282936ff7f7875e61ccbd8 Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Thu, 18 Aug 2011 14:19:40 +0300 Subject: [PATCH] version.t: Fix expected libquviVersion pattern --- t/version.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/version.t b/t/version.t index 7ea6081..da7efdd 100644 --- a/t/version.t +++ b/t/version.t @@ -32,9 +32,10 @@ like(&WWW::Quvi::version, qr{^\d+.\d+.\d+$}); like(&WWW::Quvi::version(WWW::Quvi::ModuleVersion), qr{^\d+.\d+.\d+$}); -like(&WWW::Quvi::version(WWW::Quvi::libquviVersion), qr{^\d+.\d+.\d+$}); +like(&WWW::Quvi::version(WWW::Quvi::libquviVersion), + qr{^\d+.\d+.\d+(?:\d+|$)}); like(&WWW::Quvi::version(WWW::Quvi::libquviVersionLong), - qr{^\d+.\d+.\d+.* built on \d+.\d+.\d+ .* (.*)$}); + qr{^\d+.\d+.\d+.* built on \d+.\d+.\d+ .* (.*)$}); # vim: set ts=2 sw=2 tw=72 expandtab: -- 2.11.4.GIT