Skip to content

Commit f2a7b2d

Browse files
chore: enable excess character tests (#2749)
1 parent 09e43c6 commit f2a7b2d

File tree

1 file changed

+0
-7
lines changed
  • codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,6 @@ private static boolean filterMalformedRequestTests(
327327
return true;
328328
}
329329

330-
if (!testCase.getId().matches("^RestJsonBody\\w+MalformedValueRejected.*")) {
331-
//TODO: trailing characters in untyped contexts not rejected yet
332-
if (testCase.hasTag("trailing_chars") || testCase.hasTag("hex")) {
333-
return true;
334-
}
335-
}
336-
337330
//TODO: request serialization does not verify that the request is an object
338331
if (testCase.hasTag("technically_valid_json_body")) {
339332
return true;

0 commit comments

Comments
 (0)