From e60b99b078d1248cfcf5f86835369ada1784143f Mon Sep 17 00:00:00 2001 From: Matas Lauzadis Date: Wed, 30 Oct 2024 13:13:07 -0400 Subject: [PATCH] fix test assertion --- .../codegen/customization/AwsQueryModeCustomizationTest.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/codegen/aws-sdk-codegen/src/test/kotlin/aws/sdk/kotlin/codegen/customization/AwsQueryModeCustomizationTest.kt b/codegen/aws-sdk-codegen/src/test/kotlin/aws/sdk/kotlin/codegen/customization/AwsQueryModeCustomizationTest.kt index 346835ec150..b8d5e3e67e3 100644 --- a/codegen/aws-sdk-codegen/src/test/kotlin/aws/sdk/kotlin/codegen/customization/AwsQueryModeCustomizationTest.kt +++ b/codegen/aws-sdk-codegen/src/test/kotlin/aws/sdk/kotlin/codegen/customization/AwsQueryModeCustomizationTest.kt @@ -7,6 +7,7 @@ package aws.sdk.kotlin.codegen.customization import aws.sdk.kotlin.codegen.testutil.lines import software.amazon.smithy.kotlin.codegen.test.* import kotlin.test.Test +import kotlin.test.assertFalse import kotlin.test.assertTrue class AwsQueryModeCustomizationTest { @@ -72,8 +73,8 @@ class AwsQueryModeCustomizationTest { } @Test - fun testNotExpectedForNonS3Model() { - assertTrue { + fun testNotExpectedForNonQueryCompatibleModel() { + assertFalse { AwsQueryModeCustomization() .enabledForService(nonQueryCompatibleModel, nonQueryCompatibleModel.defaultSettings()) }