[ofbiz-framework] branch trunk updated: Fixed: Well-formed html in ftl template (OFBIZ-11996)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Fixed: Well-formed html in ftl template (OFBIZ-11996)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new a74eac0  Fixed: Well-formed html in ftl template (OFBIZ-11996)
a74eac0 is described below

commit a74eac00601c6f4cac5a99d1b9b8f0b42b727744
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Thu Sep 10 12:31:22 2020 +0200

    Fixed: Well-formed html in ftl template (OFBIZ-11996)
   
    Fixes Java method names issues
   
    Thanks: Girish
---
 .../src/test/java/org/apache/ofbiz/base/util/UtilHtmlTest.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/framework/base/src/test/java/org/apache/ofbiz/base/util/UtilHtmlTest.java b/framework/base/src/test/java/org/apache/ofbiz/base/util/UtilHtmlTest.java
index 347447c..6145f19 100644
--- a/framework/base/src/test/java/org/apache/ofbiz/base/util/UtilHtmlTest.java
+++ b/framework/base/src/test/java/org/apache/ofbiz/base/util/UtilHtmlTest.java
@@ -18,22 +18,22 @@
  *******************************************************************************/
 package org.apache.ofbiz.base.util;
 
-import org.junit.Test;
+import static org.junit.Assert.assertEquals;
 
 import java.util.List;
 
-import static org.junit.Assert.assertEquals;
+import org.junit.Test;
 
 public class UtilHtmlTest {
 
     @Test
-    public void parseHtmlFragment_unclosedDiv() {
+    public void parseHtmlFragmentUnclosedDiv() {
         List<String> errorList = UtilHtml.hasUnclosedTag("<div><div></div>");
         assertEquals(true, errorList.get(0).contains("Unexpected close tag"));
     }
 
     @Test
-    public void parseHtmlFragment_multiRoot() {
+    public void parseHtmlFragmentMultiRoot() {
         List<String> errorList = UtilHtml.hasUnclosedTag("<div></div><div></div>");
         assertEquals(0, errorList.size());
     }