aboutsummaryrefslogtreecommitdiff
path: root/tests/test_environment.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2026-05-07 15:54:00 -0400
committerGitHub <noreply@github.com>2026-05-07 15:54:00 -0400
commit0ef06cbec6f3796db244501b4c5fec2d579c7e5b (patch)
tree675651a16986ebfc1473102d9ce6d7187fc107d0 /tests/test_environment.c
parentb494ddd036f9b17fcfabd42decd325bbe8be914e (diff)
parent9468c81718046af0a0b32c492bee359a98e2e8e9 (diff)
downloadstasis-0ef06cbec6f3796db244501b4c5fec2d579c7e5b.tar.gz
Merge pull request #141 from jhunkeler/use-stasis-bufsiz
Replace BUFSIZ with STASIS_BUFSIZ
Diffstat (limited to 'tests/test_environment.c')
-rw-r--r--tests/test_environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_environment.c b/tests/test_environment.c
index 9a503c0..72a938d 100644
--- a/tests/test_environment.c
+++ b/tests/test_environment.c
@@ -56,7 +56,7 @@ void test_runtime() {
STASIS_ASSERT(strcmp(global_custom_value, custom_value) == 0, "local and global CUSTOM_KEY variable are supposed to be identical");
guard_free(custom_value);
- char output_truth[BUFSIZ] = {0};
+ char output_truth[STASIS_BUFSIZ] = {0};
char *your_path = runtime_get(env, "PATH");
snprintf(output_truth, sizeof(output_truth), "Your PATH is '%s'.", your_path);
guard_free(your_path);