Skip to content

Commit

Permalink
skip empty comparison on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Aug 5, 2024
1 parent aa565ee commit 4d2fb12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/environment_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ static int s_test_env_functions_fn(struct aws_allocator *allocator, void *ctx) {
ASSERT_TRUE(result == AWS_OP_SUCCESS);

value = aws_get_env(allocator, env_name);
#ifndef AWS_OS_WINDOWS
ASSERT_TRUE(aws_string_compare(value, empty_str) == 0);
#endif
aws_string_destroy(value);

value = aws_get_env_nonempty(allocator, env_name);
Expand Down

0 comments on commit 4d2fb12

Please sign in to comment.