Skip to content

Commit 253ec7b

Browse files
update from 1.1.2 to 1.1.3 patch update
1 parent ec4b0ea commit 253ec7b

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ To integrate Fossil Test into your project, follow these steps:
5252
# ======================
5353
[wrap-git]
5454
url = https://github.com/fossillogic/fossil-test.git
55-
revision = v1.1.2
55+
revision = v1.1.3
5656

5757
[provide]
5858
fossil-test = fossil_test_dep

code/logic/testing.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ void usage_info(void) {
321321

322322
void version_info(void) {
323323
printf("Fossil Logic Test Framework\n");
324-
printf("Version: 1.1.2\n");
324+
printf("Version: 1.1.3\n");
325325
printf("Author: Michael Gene Brockus (Dreamer)\n");
326326
printf("License: Mozila Public License 2.0\n");
327327
}
@@ -553,11 +553,6 @@ void fossil_test_assert_internal(bool condition, const char *message, const char
553553
}
554554
}
555555

556-
// Function to check if a test case is empty (i.e., contains no assertions)
557-
bool is_test_case_empty(test_case_t *test_case) {
558-
return _ASSERT_COUNT == 0;
559-
}
560-
561556
// Run an individual test case
562557
void fossil_test_run_case(test_case_t *test_case, fossil_test_env_t *env) {
563558
if (!test_case) return;
@@ -589,7 +584,7 @@ void fossil_test_run_case(test_case_t *test_case, fossil_test_env_t *env) {
589584
test_case->execution_time = (double)(clock() - test_start_time) / CLOCKS_PER_SEC;
590585

591586
// Check if the test case is empty
592-
if (is_test_case_empty(test_case)) {
587+
if (_ASSERT_COUNT == 0) {
593588
printf(FOSSIL_TEST_COLOR_YELLOW "WARNING: " FOSSIL_TEST_COLOR_BLUE " %s contains no assertions\n" FOSSIL_TEST_COLOR_RESET, test_case->name);
594589
}
595590

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project('Fossil Test', 'c', 'cpp',
22
meson_version: '>=1.3.0',
33
license: 'MPL-2.0',
4-
version: '1.1.2',
4+
version: '1.1.3',
55
default_options: ['c_std=c11,c18', 'cpp_std=c++20'])
66

77
subdir('code')

0 commit comments

Comments
 (0)