mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
testing expression enclosed by characters without space
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1492574 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -13,7 +13,9 @@ public class LoggerUtilsTest extends TestCase {
|
||||
assertEquals("foo bob", LoggerUtils.format("foo #0", "bob"));
|
||||
assertEquals("foo bob joe", LoggerUtils.format("foo #0 #1", "bob", "joe"));
|
||||
assertEquals("foo bob joe #8", LoggerUtils.format("foo #0 #1 #8", "bob", "joe"));
|
||||
|
||||
assertEquals("foo (bob/ally)", LoggerUtils.format("foo (#0/#1)", "bob", "ally"));
|
||||
assertEquals("foo (bobally)", LoggerUtils.format("foo (#0#1)", "bob", "ally"));
|
||||
|
||||
assertEquals(null, LoggerUtils.format(null));
|
||||
assertEquals("", LoggerUtils.format(""));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user