aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/19-unit.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/19-unit.t b/t/19-unit.t
index e93c539..80ba3f0 100755
--- a/t/19-unit.t
+++ b/t/19-unit.t
@@ -11,7 +11,7 @@ use lib "$RealBin/../SBO-Lib/lib";
use SBO::Lib qw/ script_error usage_error open_fh %config indent get_installed_packages get_sbo_location get_sbo_locations get_local_outdated_versions /;
use Capture::Tiny qw/ capture_merged /;
-plan tests => 37;
+plan tests => 38;
# 1-2: test script_error();
{
@@ -223,3 +223,8 @@ SKIP: {
local $config{LOCAL_OVERRIDES} = 'FALSE';
is(scalar get_local_outdated_versions(), 0, 'get_local_outdated_versions() returned an empty list');
}
+
+# 38: test get_filename_from_link();
+{
+ is (SBO::Lib::get_filename_from_link('/'), undef, "get_filename_from_link() returned undef");
+}