Changeset d4bafae
- Timestamp:
- Dec 5, 2017 8:33:12 PM (3 years ago)
- Branches:
- master
- Children:
- f5dffb0
- Parents:
- 2f8249b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
core/java/test/junit/net/i2p/data/LeaseSetTest.java
r2f8249b rd4bafae 43 43 // should contain no leases now. 44 44 exception.expect(IndexOutOfBoundsException.class); 45 // Good for Java 7/8, but Java 9 message is "Index 0 out-of-bounds for length 0"46 // and do we really need to verify the message?47 //exception.expectMessage("Index: 0, Size: 0");48 45 subj.getLease(0); 49 46 } … … 56 53 // this shouldn't work either 57 54 exception.expect(IndexOutOfBoundsException.class); 58 exception.expectMessage("-1");59 55 subj.getLease(-1); 60 56 }
Note: See TracChangeset
for help on using the changeset viewer.