commit 3a0080481e4b1a1664fadbf1696c581b29f3cffa
parent da1b7f300ad26b9410c11ef0e5c49b783cc29c67
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Thu, 8 Sep 2016 00:09:17 +0200
02.1-unit-args.t: add unit test of get_readme_contents
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git 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;