From 1af0bbcfbafc0bfa8d266b0a44308c182625d495 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Wed, 30 Aug 2023 10:59:27 +0800 Subject: [PATCH] Update test and dev requirement --- README.md | 2 ++ test_helper.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b9bc10..6ba9a7d 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,8 @@ chsrc anaconda ## 开发 +请确保拥有一个支持C99的C编译器。 + ```bash make make test diff --git a/test_helper.c b/test_helper.c index b3d9f60..efc49da 100644 --- a/test_helper.c +++ b/test_helper.c @@ -19,7 +19,9 @@ main (int argc, char const *argv[]) puts(xy_strjoin("中文输出", "test")); puts(xy_strjoin("中文输出2", "test")); - xy_success("成功输出"); - xy_warn("警告输出"); + xy_success("成功:输出成功内容"); + xy_info("信息: 输出信息内容"); + xy_warn("警告:输出警告内容"); + xy_error("错误:输出错误内容"); return 0; }