mirror of
https://github.com/apache/struts.git
synced 2026-08-06 07:06:58 +00:00
Swaps expected with actual
This commit is contained in:
@@ -110,7 +110,7 @@ public class StrutsUrlDecoderTest {
|
||||
public void testDecoding() {
|
||||
String result = decoder.decode("%E6%96%B0%E8%81%9E");
|
||||
|
||||
assertEquals(result, "\u65b0\u805e");
|
||||
assertEquals("\u65b0\u805e", result);
|
||||
}
|
||||
|
||||
@Before
|
||||
|
||||
@@ -86,7 +86,7 @@ public class StrutsUrlEncoderTest {
|
||||
public void testEncoding() {
|
||||
String result = encoder.encode("\u65b0\u805e");
|
||||
|
||||
assertEquals(result, "%E6%96%B0%E8%81%9E");
|
||||
assertEquals("%E6%96%B0%E8%81%9E", result);
|
||||
}
|
||||
|
||||
@Before
|
||||
|
||||
Reference in New Issue
Block a user