Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Jul 31, 2024
1 parent ce4a4ea commit 8eb5baf
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions tests/credentials_provider_sts_web_identity_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,14 +509,14 @@ AWS_STATIC_STRING_FROM_LITERAL(
"[profile foo]\n"
"region=us-east-1\n");

static int s_credentials_provider_sts_web_identity_fail_with_empty_config_or_env(struct aws_allocator *allocator, void *ctx) {
static int s_credentials_provider_sts_web_identity_fail_with_empty_config_or_env(
struct aws_allocator *allocator,
void *ctx) {
(void)ctx;

s_aws_sts_web_identity_tester_init(allocator);


struct aws_byte_buf content_buf =
aws_byte_buf_from_c_str(aws_string_c_str(s_basic_config_file));
struct aws_byte_buf content_buf = aws_byte_buf_from_c_str(aws_string_c_str(s_basic_config_file));

struct aws_string *config_file_contents = aws_string_new_from_array(allocator, content_buf.buffer, content_buf.len);
ASSERT_TRUE(config_file_contents != NULL);
Expand All @@ -525,13 +525,7 @@ static int s_credentials_provider_sts_web_identity_fail_with_empty_config_or_env
s_aws_sts_web_identity_test_init_config_profile(allocator, config_file_contents);
aws_string_destroy(config_file_contents);

s_aws_sts_web_identity_test_init_env_parameters(
allocator,
"",
"",
"",
"");

s_aws_sts_web_identity_test_init_env_parameters(allocator, "", "", "", "");

struct aws_credentials_provider_sts_web_identity_options options = {
.bootstrap = NULL,
Expand All @@ -552,7 +546,6 @@ AWS_TEST_CASE(
credentials_provider_sts_web_identity_fail_with_empty_config_or_env,
s_credentials_provider_sts_web_identity_fail_with_empty_config_or_env);


static int s_credentials_provider_sts_web_identity_new_destroy_from_cached_config(
struct aws_allocator *allocator,
void *ctx) {
Expand Down

0 comments on commit 8eb5baf

Please sign in to comment.