struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [2/2] struts git commit: Fixes typos
Date Sat, 12 Nov 2016 16:40:21 GMT
Fixes typos


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/e1e2ea84
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/e1e2ea84
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/e1e2ea84

Branch: refs/heads/master
Commit: e1e2ea84a70cf9e56ceb1c8b95fcc3c442c836f8
Parents: 986b43f
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Sat Nov 12 17:39:58 2016 +0100
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Sat Nov 12 17:39:58 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/struts2/views/jsp/URLTagTest.java     | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/e1e2ea84/core/src/test/java/org/apache/struts2/views/jsp/URLTagTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/struts2/views/jsp/URLTagTest.java b/core/src/test/java/org/apache/struts2/views/jsp/URLTagTest.java
index 37d4979..339377d 100644
--- a/core/src/test/java/org/apache/struts2/views/jsp/URLTagTest.java
+++ b/core/src/test/java/org/apache/struts2/views/jsp/URLTagTest.java
@@ -688,7 +688,7 @@ public class URLTagTest extends AbstractUITagTest {
 
         ParamTag param1 = new ParamTag();
         param1.setPageContext(pageContext);
-        param1.setName("paraWithSetValue");
+        param1.setName("paramWithSetValue");
         param1.setValue("");
         param1.setSuppressEmptyParameters(false);
         param1.doStartTag();
@@ -696,7 +696,7 @@ public class URLTagTest extends AbstractUITagTest {
 
         ParamTag param2 = new ParamTag();
         param2.setPageContext(pageContext);
-        param2.setName("paraWithSetBody");
+        param2.setName("paramWithSetBody");
         param2.setBodyContent(new MockBodyContent() {
             @Override
             public String getString() {
@@ -709,7 +709,7 @@ public class URLTagTest extends AbstractUITagTest {
 
         ParamTag param3 = new ParamTag();
         param3.setPageContext(pageContext);
-        param3.setName("paraWithSetValueSurpressed");
+        param3.setName("paramWithSetValueSuppressed");
         param3.setValue("");
         param3.setSuppressEmptyParameters(true);
         param3.doStartTag();
@@ -717,7 +717,7 @@ public class URLTagTest extends AbstractUITagTest {
 
         ParamTag param4 = new ParamTag();
         param4.setPageContext(pageContext);
-        param4.setName("paraWithSetBodySurpressed");
+        param4.setName("paramWithSetBodySuppressed");
         param4.setBodyContent(new MockBodyContent() {
             @Override
             public String getString() {
@@ -730,7 +730,7 @@ public class URLTagTest extends AbstractUITagTest {
 
         tag.doEndTag();
 
-        assertEquals("/company.action?paraWithSetValue=&paraWithSetBody=", writer.toString());
+        assertEquals("/company.action?paramWithSetValue=&paramWithSetBody=", writer.toString());
     }
 
     protected void setUp() throws Exception {


Mime
View raw message