From c36be5f59c4c6a5cb6ed5cb5c06ed0cf6ab6ceff Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Thu, 7 Aug 2025 23:59:07 +0800 Subject: [PATCH] Format pl file --- test/cli.pl | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/test/cli.pl b/test/cli.pl index c582e28..f628e20 100644 --- a/test/cli.pl +++ b/test/cli.pl @@ -2,8 +2,9 @@ # --------------------------------------------------------------- # Test File : cli.pl # Test Authors : Aoran Zeng +# Contributors : Nil Null # Created On : <2024-06-05> -# Last Modified : <2025-07-22> +# Last Modified : <2025-08-07> # # 测试 chsrc 可执行文件 # --------------------------------------------------------------- @@ -43,18 +44,18 @@ like `./chsrc get fake_target_name 2>&1`, $fake_target_name, 'chsrc get fake_ta if ((defined $ARGV[0]) && ($ARGV[0] eq 'fastcheck')) { - say "Fast checking, done testing."; - done_testing; - exit 0; + say "Fast checking, done testing."; + done_testing; + exit 0; } my $has_ruby = system 'ruby -v'; if ($has_ruby == 0) { - say "Ruby exists. Go on testing."; + say "Ruby exists. Go on testing."; } else { - say "No Ruby. End testing."; - done_testing; - exit 0; + say "No Ruby. End testing."; + done_testing; + exit 0; } my $get_ruby = qr/gem sources/;