Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java

Co-Authored-By: KevinGilmore <kpg102@gmail.com>
This commit is contained in:
psoares 2020-02-14 23:11:41 -05:00 committed by GitHub
parent 81d097732d
commit c6489551cf
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class FileLocksUnitTest {
}
@Test
void givenAFileOutputStream_whenGetSharedLock_throwNonReadableChannelException() {
void givenAFileOutputStream_whenGetSharedLock_thenThrowNonReadableChannelException() {
assertThrows(NonReadableChannelException.class, FileLocks::getReadLockFromOutputStream);
}