Skip to content

Commit 27dbd8e

Browse files
authored
chore(codegen): skip scalar pure whitespace protocol test (#2646)
1 parent e1f2dfc commit 27dbd8e

File tree

1 file changed

+4
-1
lines changed
  • codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen

1 file changed

+4
-1
lines changed

codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsProtocolUtils.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,10 @@ private static boolean filterProtocolTests(
299299
&& settings.generateServerSdk()) {
300300
return true;
301301
}
302-
302+
// TODO: follow-up with smithy on whether whitespace strings should be trimmed.
303+
if (testCase.getId().equals("SimpleScalarPropertiesPureWhiteSpace")) {
304+
return true;
305+
}
303306
return false;
304307
}
305308
}

0 commit comments

Comments
 (0)