Skip to content

Commit 05c368a

Browse files
committed
Fix assertion
1 parent 470ce22 commit 05c368a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codegen/src/test/java/software/amazon/awssdk/codegen/CodeGeneratorTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ void execute_operationHasNoRequestUri_throwsValidationError() throws IOException
226226
.matches(e -> ((ModelInvalidException) e).validationEntries().get(0).getErrorId()
227227
== ValidationErrorId.REQUEST_URI_NOT_FOUND)
228228
.matches(e -> ((ModelInvalidException) e).validationEntries().get(0).getDetailMessage()
229-
.contains("OperationWithUriMappedParamRequest"));
229+
.equals("Operation referencing input shape 'OperationWithUriMappedParamRequest'"
230+
+ " has no requestUri configured in its HTTP binding."));
230231
}
231232

232233
private void generateCodeFromC2jModels(C2jModels c2jModels, Path outputDir) {

0 commit comments

Comments
 (0)