File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# ---------------------------------------------------------------
33# Test File : cli.pl
44# Test Authors : Aoran Zeng <ccmywish@qq.com>
5+ # Contributors : Nil Null <nil@null.org>
56# Created On : <2024-06-05>
6- # Last Modified : <2025-07-22 >
7+ # Last Modified : <2025-08-07 >
78#
89# 测试 chsrc 可执行文件
910# ---------------------------------------------------------------
4344
4445
4546if ((defined $ARGV [0]) && ($ARGV [0] eq ' fastcheck' )) {
46- say " Fast checking, done testing." ;
47- done_testing;
48- exit 0;
47+ say " Fast checking, done testing." ;
48+ done_testing;
49+ exit 0;
4950}
5051
5152my $has_ruby = system ' ruby -v' ;
5253if ($has_ruby == 0) {
53- say " Ruby exists. Go on testing." ;
54+ say " Ruby exists. Go on testing." ;
5455} else {
55- say " No Ruby. End testing." ;
56- done_testing;
57- exit 0;
56+ say " No Ruby. End testing." ;
57+ done_testing;
58+ exit 0;
5859}
5960
6061my $get_ruby = qr / gem sources/ ;
You can’t perform that action at this time.
0 commit comments