aboutsummaryrefslogtreecommitdiff
path: root/t/02.1-unit-args.t
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-09-08 00:09:17 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-09-08 00:09:17 +0200
commit3a0080481e4b1a1664fadbf1696c581b29f3cffa (patch)
tree6130e8df47cb2bfb6482c41fb2ae77e8b7e8d8ac /t/02.1-unit-args.t
parentda1b7f300ad26b9410c11ef0e5c49b783cc29c67 (diff)
downloadsbotools2-3a0080481e4b1a1664fadbf1696c581b29f3cffa.tar.xz
02.1-unit-args.t: add unit test of get_readme_contents
Diffstat (limited to 't/02.1-unit-args.t')
-rwxr-xr-xt/02.1-unit-args.t6
1 files changed, 2 insertions, 4 deletions
diff --git a/t/02.1-unit-args.t b/t/02.1-unit-args.t
index 6f03162..324ce11 100755
--- a/t/02.1-unit-args.t
+++ b/t/02.1-unit-args.t
@@ -1,7 +1,5 @@
#!/usr/bin/env perl
-# This should probably replace 01-test.t once it's thorough enough
-
use strict;
use warnings;
use Test::More;
@@ -11,7 +9,7 @@ use lib "$RealBin/../SBO-Lib/lib";
use SBO::Lib;
use Capture::Tiny qw/ capture_merged /;
-plan tests => 58;
+plan tests => 59;
sub test_args {
my $sub = shift;
@@ -35,7 +33,7 @@ test_args $_ for qw/
check_x32 rewrite_slackbuild revert_slackbuild check_distfiles create_symlinks
get_tmp_extfn perform_sbo do_convertpkg do_slackbuild make_clean make_distclean
do_upgradepkg get_build_queue merge_queues get_user_group ask_user_group get_opts
- ask_opts user_prompt
+ ask_opts user_prompt get_readme_contents
/;
test_args 'get_from_info', LOCATION => 1;