Skip to content

Commit 9bee6c4

Browse files
Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java
Co-Authored-By: KevinGilmore <[email protected]>
1 parent d03b119 commit 9bee6c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class FileLocksUnitTest {
1616

1717
@Test
18-
void givenAnInputStream_whenGetWriteLock_throwNonWritableChannelException() {
18+
void givenAnInputStream_whenGetWriteLock_thenThrowNonWritableChannelException() {
1919
assertThrows(NonWritableChannelException.class, () -> FileLocks.getExclusiveLockFromInputStream());
2020
}
2121

0 commit comments

Comments
 (0)