aboutsummaryrefslogtreecommitdiff
path: root/t/01-unit.t
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-12-03 08:40:36 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-12-03 08:40:36 +0200
commit7ca2de02fc3e5197eec3f9a94b9e4fac420bdda5 (patch)
treed6c8465b5731ea0d0107a95daac81cad34af0f6f /t/01-unit.t
parente8e66216f91d8f7941623038cedec678148a1dc4 (diff)
downloadsbotools2-7ca2de02fc3e5197eec3f9a94b9e4fac420bdda5.tar.xz
t/: add one more test for #45.
Diffstat (limited to 't/01-unit.t')
-rwxr-xr-xt/01-unit.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/01-unit.t b/t/01-unit.t
index 886e566..6fec4fd 100755
--- 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();