Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaning and refactoring source files #67

Merged
merged 12 commits into from
Jan 19, 2025
Prev Previous commit
Next Next commit
resolve issue unknown variable
dreamer-coding committed Jan 19, 2025
commit d51fc144afcf89727bd2dc5c9ef45bab1c917c0d
2 changes: 1 addition & 1 deletion code/logic/testing.c
Original file line number Diff line number Diff line change
@@ -582,7 +582,7 @@ void fossil_test_assert_internal(bool condition, const char *message, const char

if (!condition) {
if (fossil_test_detect_anomaly(message, file, line, func)) {
printf(FOSSIL_TEST_COLOR_YELLOW "Duplicate or similar assertion detected: %s (%s:%d in %s) [Anomaly Count: %d]\n" FOSSIL_TEST_COLOR_RESET, message, file, line, func, anomaly_count);
printf(FOSSIL_TEST_COLOR_YELLOW "Duplicate or similar assertion detected: %s (%s:%d in %s)\n" FOSSIL_TEST_COLOR_RESET, message, file, line, func);
} else {
printf(FOSSIL_TEST_COLOR_RED "Assertion failed: %s (%s:%d in %s)\n" FOSSIL_TEST_COLOR_RESET, message, file, line, func);
}