Skip to content

Commit

Permalink
Solve issues in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Mar 3, 2025
1 parent 2b6ea17 commit c7fb5f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ out/*

# GitHub Auth
.netrc

# VSCode
.vscode
7 changes: 2 additions & 5 deletions tests/c/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@

static int cleanup(int code)
{
if (metacall_destroy() != 0)
{
return code != 0 ? -code : -255;
}
metacall_destroy();

return code;
}
Expand All @@ -37,7 +34,7 @@ int main(int argc, char *argv[])
{
struct metacall_log_stdio_type log_stdio = { stdout };

printf(metacall_print_info());
printf("%s\n", metacall_print_info());

if (metacall_log(METACALL_LOG_STDIO, (void *)&log_stdio) != 0)
{
Expand Down

0 comments on commit c7fb5f3

Please sign in to comment.