Cleaned up tests

This commit is contained in:
Erik C. Thauvin 2023-11-25 17:33:18 -08:00
parent a13a2b814b
commit 133d996029
4 changed files with 14 additions and 19 deletions

View file

@ -49,7 +49,8 @@ class DetektOperationTest {
void testExamplesExecute() {
var op = new DetektOperation()
.fromProject(new BaseProjectBlueprint(new File("examples"), "com.example",
"Example"));
"Example"))
.debug(true);
assertThatThrownBy(op::execute).isInstanceOf(ExitStatusException.class);
}