commit 7ca2de02fc3e5197eec3f9a94b9e4fac420bdda5
parent e8e66216f91d8f7941623038cedec678148a1dc4
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Sat, 3 Dec 2016 08:40:36 +0200
t/: add one more test for #45.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/01-unit.t b/t/01-unit.t
@@ -11,7 +11,7 @@ use Capture::Tiny qw/ capture_merged /;
use File::Temp 'tempdir';
use Cwd;
-plan tests => 61;
+plan tests => 62;
# 1-2: test script_error();
{
@@ -321,6 +321,7 @@ SKIP: {
is (SBO::Lib::version_cmp('1.0', '1.0_foo_bar'), 0, "version_cmp(1.0, 1.0_foo_bar) returned 0");
is (SBO::Lib::version_cmp('1.0_en_US', '1.0'), 0, "version_cmp(1.0_en_US, 1.0) returned 0");
+ is (SBO::Lib::version_cmp('1.0', '1.0_en_US'), 0, "version_cmp(1.0, 1.0_en_US) returned 0");
}
# 60: test check_multilib();