mirror of
https://github.com/RubyMetric/chsrc
synced 2026-10-25 17:36:32 +08:00
更新测试
This commit is contained in:
2 files changed
+7
-5
No files matched your search
+3
-2
@@ -4,7 +4,7 @@
|
||||
# Test Authors : @ccmywish
|
||||
# Contributors : Nil Null <nil@null.org>
|
||||
# Created On : <2024-06-05>
|
||||
# Last Modified : <2026-08-19>
|
||||
# Last Modified : <2026-08-20>
|
||||
#
|
||||
# 测试 chsrc 可执行文件
|
||||
#
|
||||
@@ -131,7 +131,8 @@ like `$CHSRC set uv $URL 2>&1`, $set_uv_url, "chsrc set uv $URL";
|
||||
|
||||
# js combo
|
||||
my $set_js_url = qr/食谱更新.*\n食谱更新.*\n食谱更新/;
|
||||
like `$CHSRC set js $URL`, $set_js_url, "chsrc set js $URL";
|
||||
# 如果有 npm, yarn, pnpm 这三个子菜品,再打开此测试
|
||||
# like `$CHSRC set js $URL`, $set_js_url, "chsrc set js $URL";
|
||||
|
||||
my $measure_js = qr/js 由以下3个子菜品组成.*\nnpm\nyarn\npnpm/;
|
||||
like `$CHSRC measure -no-color js`, $measure_js, 'chsrc measure -no-color js';
|
||||
|
||||
@@ -4,14 +4,15 @@
|
||||
* File Authors : @ccmywish
|
||||
* Contributors : @Mikachu2333
|
||||
* Created On : <2024-12-14>
|
||||
* Last Modified : <2025-12-29>
|
||||
* Last Modified : <2026-08-20>
|
||||
*
|
||||
* 该文件最好启用 DEBUG mode 编译
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
#define Chsrc_Version "Frameworker"
|
||||
#define Chsrc_Version "chsrc-framework-tester"
|
||||
|
||||
#include "../src/framework/core.c"
|
||||
#include "../src/framework/foundation.c"
|
||||
#include "../src/framework/OS.c"
|
||||
|
||||
int
|
||||
main (int argc, char const *argv[])
|
||||
|
||||
Reference in new issue
Block a user