aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xt/01-unit.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/01-unit.t b/t/01-unit.t
index 0e0cd1a..55cb403 100755
--- a/t/01-unit.t
+++ b/t/01-unit.t
@@ -273,7 +273,7 @@ SKIP: {
my $scalar = '';
open(my $fh, '<', \$scalar) or skip "Could not open needed filehandle", 1;
- local $SBO::Lib::tmpd = "/foo-bar";
+ local $SBO::Lib::Build::tmpd = "/foo-bar";
is (scalar @{ SBO::Lib::get_src_dir($fh) }, 0, "get_src_dir() returned an empty array ref");
}
@@ -317,7 +317,7 @@ SKIP: {
is ($res[3], 0, "version_cmp(1.0_k, 1.0_k) returned 0");
no warnings 'redefine';
- local *SBO::Lib::get_kernel_version = sub { "foo_bar" };
+ local *SBO::Lib::Util::get_kernel_version = sub { "foo_bar" };
is (SBO::Lib::version_cmp('1.0', '1.0_foo_bar'), 0, "version_cmp(1.0, 1.0_foo_bar) returned 0");
}