From 8eb5bafb4c79b8b7ead3264315842db88bcc4b42 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Wed, 31 Jul 2024 13:50:59 -0700 Subject: [PATCH] lint --- ...redentials_provider_sts_web_identity_tests.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/tests/credentials_provider_sts_web_identity_tests.c b/tests/credentials_provider_sts_web_identity_tests.c index 9edb52f3..c76f9d5d 100644 --- a/tests/credentials_provider_sts_web_identity_tests.c +++ b/tests/credentials_provider_sts_web_identity_tests.c @@ -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); @@ -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, @@ -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) {