f50c04c828
build / build (push) Has been cancelled
- Renamed package from me.zacharias.chat to me.neurodock across all 8 modules - Updated Gradle group from me.zacharias.neurodock to me.neurodock - Updated README and other files to reflect new Gitea org URL (Chat_things → neurodock) Dev note: 95 files touched. The Great Refactor is complete, long may it rest.
14 lines
425 B
Java
14 lines
425 B
Java
import me.neurodock.core.files.FileHandler;
|
|
import me.neurodock.core.files.FileHandlerException;
|
|
import org.junit.jupiter.api.Assertions;
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
public class FileTest {
|
|
@Test
|
|
void TestError()
|
|
{
|
|
FileHandler fileHandler = new FileHandler("./test/files");
|
|
Assertions.assertThrowsExactly(FileHandlerException.class, () -> fileHandler.readFile("../build.gradle"));
|
|
}
|
|
}
|