From 9399b68f2601807faff22e57c2c8d9c524d24b53 Mon Sep 17 00:00:00 2001 From: welcor <357770+welcor@users.noreply.github.com> Date: Fri, 21 Jun 2024 14:45:07 +0200 Subject: [PATCH] remove the conf.h listing when building, and add another test for get_number --- .github/workflows/build.yml | 2 -- src/test/test.handler.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bab97aa..306131c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,8 +19,6 @@ jobs: run: sudo apt install -y libcmocka-dev - name: configure run: ./configure - - name: list conf.h for testing - run: cat src/conf.h - name: build tests run: cd src && touch .accepted && make test - name: build diff --git a/src/test/test.handler.c b/src/test/test.handler.c index f13cb34..8170281 100644 --- a/src/test/test.handler.c +++ b/src/test/test.handler.c @@ -7,6 +7,7 @@ UNIT_TEST(test_get_number) run_single_get_number_test("1.feather", "feather", 1); run_single_get_number_test("2.feather", "feather", 2); run_single_get_number_test("1.feat", "feat", 1); + run_single_get_number_test("2.feat", "feat", 2); run_single_get_number_test("feather", "feather", 1); run_single_get_number_test("10.feather", "feather", 10);