From 7099fd8072c23f00cba91c65286ddea0e7514b16 Mon Sep 17 00:00:00 2001 From: David DE CARVALHO Date: Wed, 15 May 2024 23:33:30 +0200 Subject: [PATCH] correction SonarCloud warnings --- .../python/checks/AvoidMultipleIfElseStatementCheckTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/fr/greencodeinitiative/python/checks/AvoidMultipleIfElseStatementCheckTest.java b/src/test/java/fr/greencodeinitiative/python/checks/AvoidMultipleIfElseStatementCheckTest.java index 51f4b07..4277812 100644 --- a/src/test/java/fr/greencodeinitiative/python/checks/AvoidMultipleIfElseStatementCheckTest.java +++ b/src/test/java/fr/greencodeinitiative/python/checks/AvoidMultipleIfElseStatementCheckTest.java @@ -26,7 +26,7 @@ public class AvoidMultipleIfElseStatementCheckTest { @Test - public void test() throws Exception { + public void test() { PythonCheckVerifier.verifyNoIssue("src/test/resources/checks/avoidMultipleIfElseStatementCompliant.py", new AvoidMultipleIfElseStatementCheck()); PythonCheckVerifier.verify("src/test/resources/checks/avoidMultipleIfElseStatementNonCompliant.py", new AvoidMultipleIfElseStatementCheck()); }