Skip to content

Commit 398af8b

Browse files
committed
Fix test
1 parent 99d2df4 commit 398af8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/protocol-tests/src/test/java/software/amazon/awssdk/protocol/tests/endpoint/EndpointTraitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public void hostExpression_withInputMemberLabel() throws URISyntaxException {
108108
}
109109
}
110110

111-
@Test (expected = NullPointerException.class)
111+
@Test (expected = IllegalArgumentException.class)
112112
public void validationException_whenInputMember_inHostPrefix_isNull() {
113113
client.endpointTraitTwo(EndpointTraitTwoRequest.builder().build());
114114
}

0 commit comments

Comments
 (0)