From 3a0080481e4b1a1664fadbf1696c581b29f3cffa Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Thu, 8 Sep 2016 00:09:17 +0200 Subject: 02.1-unit-args.t: add unit test of get_readme_contents --- t/02.1-unit-args.t | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 't') 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; -- cgit v1.2.3