Skip to content

Commit 8d84081

Browse files
committed
Fix expected exception on @test
Fixes an expected exception test for testng.
1 parent 04be22b commit 8d84081

File tree

1 file changed

+1
-1
lines changed
  • src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/store

1 file changed

+1
-1
lines changed

src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/store/MetaStoreTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public void invalidVersion() {
286286
store.getProvider(MATERIAL_NAME, 1000);
287287
}
288288

289-
@Test(expected = IllegalArgumentException.class)
289+
@Test(expectedExceptions = IllegalArgumentException.class)
290290
public void invalidSignedOnlyField() {
291291
final Map<String, AttributeValue> attributeValueMap = new HashMap<>();
292292
attributeValueMap.put("enc", new AttributeValue().withS("testEncryptionKey"));

0 commit comments

Comments
 (0)