From a109dee5ba4e0119bc36067a4bc1becffa665c34 Mon Sep 17 00:00:00 2001 From: David Alvarez Date: Tue, 9 Jun 2026 13:03:20 +0200 Subject: [PATCH] fix: add throws Exception to findMain_emptyDir_returnsNull test --- src/test/java/com/dostalgia/ExecutableDetectorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/dostalgia/ExecutableDetectorTest.java b/src/test/java/com/dostalgia/ExecutableDetectorTest.java index 3f37f04..89c6e04 100644 --- a/src/test/java/com/dostalgia/ExecutableDetectorTest.java +++ b/src/test/java/com/dostalgia/ExecutableDetectorTest.java @@ -65,7 +65,7 @@ class ExecutableDetectorTest { } @Test - void findMain_emptyDir_returnsNull(@TempDir Path dir) { + void findMain_emptyDir_returnsNull(@TempDir Path dir) throws Exception { assertNull(detector.findMain(dir)); }