Skip to content

Commit

Permalink
renaming tests
Browse files Browse the repository at this point in the history
Signed-off-by: Atanas Atanasov <[email protected]>
  • Loading branch information
ata-nas committed Dec 12, 2024
1 parent 8d17fbf commit 4be98f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ void testReadFileBytesUnsafeThrows(final Path filePath) {
*/
@ParameterizedTest
@MethodSource("filesToCreate")
void testCreateFolderPathIfNotExistsThrows(final Path toCreate, @TempDir final Path tempDir) throws IOException {
void testCreateFile(final Path toCreate, @TempDir final Path tempDir) throws IOException {
final Path expected = tempDir.resolve(toCreate);
assertThat(expected).doesNotExist();
FileUtilities.createFile(expected);
Expand All @@ -222,7 +222,7 @@ void testCreateFolderPathIfNotExistsThrows(final Path toCreate, @TempDir final P
*/
@ParameterizedTest
@MethodSource("filesWithExtensions")
void testGetFileExtension(final Path filePath, final String extension) {
void testAppendFileExtension(final Path filePath, final String extension) {
final Path pathToTest = tempDir.resolve(filePath);
final Path actual = FileUtilities.appendExtension(pathToTest, extension);
assertThat(actual).hasFileName(filePath + extension);
Expand Down

0 comments on commit 4be98f4

Please sign in to comment.