diff --git a/src/main/scala/com/exasol/common/file/FileChecker.scala b/src/main/scala/com/exasol/common/file/FileChecker.scala index 46b9e26..f3d5b00 100644 --- a/src/main/scala/com/exasol/common/file/FileChecker.scala +++ b/src/main/scala/com/exasol/common/file/FileChecker.scala @@ -4,7 +4,6 @@ import java.io.File import java.io.IOException import java.io.UncheckedIOException import java.nio.file.Files -import java.nio.file.Path import java.nio.file.Paths import com.exasol.errorreporting.ExaError diff --git a/src/test/scala/com/exasol/common/file/FileCheckerTest.scala b/src/test/scala/com/exasol/common/file/FileCheckerTest.scala index c088f97..475921b 100644 --- a/src/test/scala/com/exasol/common/file/FileCheckerTest.scala +++ b/src/test/scala/com/exasol/common/file/FileCheckerTest.scala @@ -35,7 +35,7 @@ class FileCheckerTest extends AnyFunSuite with Matchers with MockitoSugar { assert(message.contains("Please make sure that file path start with '/buckets'.")) } - test("file checker throw ioexception") { + test("bucketfs file checker throws ioexception") { val file = mock[File] when(file.getAbsolutePath()).thenReturn("test/path") when(file.getCanonicalPath()).thenThrow(new IOException())