File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/s3/src/test/java/software/amazon/awssdk/services/s3/internal/resource Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -443,15 +443,15 @@ public void parseArn_objectLambda_colon() {
443
443
@ Test
444
444
public void parseArn_objectLambda_noName_slash () {
445
445
exception .expect (IllegalArgumentException .class );
446
- exception .expectMessage ("resource must not be blank or empty " );
446
+ exception .expectMessage ("Malformed ARN: arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/ " );
447
447
448
448
S3_ARN_PARSER .convertArn (Arn .fromString ("arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/" ));
449
449
}
450
450
451
451
@ Test
452
452
public void parseArn_objectLambda_noName_colon () {
453
453
exception .expect (IllegalArgumentException .class );
454
- exception .expectMessage ("resource must not be blank or empty " );
454
+ exception .expectMessage ("Malformed ARN: arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint: " );
455
455
456
456
S3_ARN_PARSER .convertArn (Arn .fromString ("arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint:" ));
457
457
}
You can’t perform that action at this time.
0 commit comments