From 81d097732de6db39a89cd4441966b41df75c596f Mon Sep 17 00:00:00 2001 From: psoares Date: Fri, 14 Feb 2020 23:11:34 -0500 Subject: [PATCH] Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java Co-Authored-By: KevinGilmore --- .../src/test/java/com/baeldung/lock/FileLocksUnitTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java b/core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java index 262bc3c128..6a54e2f7dc 100644 --- a/core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java +++ b/core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java @@ -20,7 +20,7 @@ class FileLocksUnitTest { } @Test - void givenARandomAccessFileWithReadWriteAccess_whenGetWriteLock_lock() throws IOException { + void givenARandomAccessFileWithReadWriteAccess_whenGetWriteLock_thenLock() throws IOException { FileLock lock = FileLocks.getExclusiveLockFromRandomAccessFile(0, 10); assertNotNull(lock); assertFalse(lock.isShared());