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
The following commit(s) were added to refs/heads/master by this push: new fb3a1e6b Sort members fb3a1e6b is described below commit fb3a1e6b7026a1e109e8e89375b3b58c3cc5cf7d Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jun 2 09:30:11 2024 -0400 Sort members --- .../java/org/apache/commons/jexl3/LexicalTest.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/test/java/org/apache/commons/jexl3/LexicalTest.java b/src/test/java/org/apache/commons/jexl3/LexicalTest.java index 56ecd20a..8d596462 100644 --- a/src/test/java/org/apache/commons/jexl3/LexicalTest.java +++ b/src/test/java/org/apache/commons/jexl3/LexicalTest.java @@ -148,16 +148,6 @@ public class LexicalTest { checkParse(null, srcs, expected); } - private void runLexical0(final JexlEngine jexl, final JexlEvalContext ctxt, final String source, final boolean feature) { - final JexlException xany = assertThrows(JexlException.class, () -> { - final JexlScript script = jexl.createScript(source); - if (!feature) { - script.execute(ctxt); - } - }); - assertNotNull(xany.toString()); - } - void runLexical0(final boolean feature) { final JexlFeatures f = new JexlFeatures(); f.lexical(feature); @@ -186,6 +176,16 @@ public class LexicalTest { } } + private void runLexical0(final JexlEngine jexl, final JexlEvalContext ctxt, final String source, final boolean feature) { + final JexlException xany = assertThrows(JexlException.class, () -> { + final JexlScript script = jexl.createScript(source); + if (!feature) { + script.execute(ctxt); + } + }); + assertNotNull(xany.toString()); + } + void runLexical1(final boolean shade) { final JexlEngine jexl = new JexlBuilder().strict(true).create(); final JexlEvalContext ctxt = new JexlEvalContext();