You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/06/01 18:58:30 UTC

(commons-jexl) 05/07: Fix Checkstyle

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git

commit a3036f84b2cfd1a65694593a7590c97397b896ad
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jun 1 14:57:41 2024 -0400

    Fix Checkstyle
---
 src/test/java/org/apache/commons/jexl3/DoWhileTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/jexl3/DoWhileTest.java b/src/test/java/org/apache/commons/jexl3/DoWhileTest.java
index bd49e182..9ca18c77 100644
--- a/src/test/java/org/apache/commons/jexl3/DoWhileTest.java
+++ b/src/test/java/org/apache/commons/jexl3/DoWhileTest.java
@@ -64,8 +64,8 @@ public class DoWhileTest extends JexlTestCase {
 
     @Test
     public void testForEachContinueInsideFunction() throws Exception {
-        final JexlException.Parsing xparse = assertThrows(JexlException.Parsing.class, () -> JEXL.createScript("for (i : 1..2) {  y = function() { continue; } }"),
-                "break is out of loop!");
+        final JexlException.Parsing xparse = assertThrows(JexlException.Parsing.class,
+                () -> JEXL.createScript("for (i : 1..2) {  y = function() { continue; } }"), "break is out of loop!");
         final String str = xparse.detailedMessage();
         assertTrue(str.contains("continue"));
     }