|
100 | 100 | import static io.microsphere.constants.Constants.ZIP_PROTOCOL; |
101 | 101 | import static io.microsphere.constants.FileConstants.JAVA_EXTENSION; |
102 | 102 | import static io.microsphere.constants.ProtocolConstants.CONSOLE_PROTOCOL; |
| 103 | +import static io.microsphere.constants.SymbolConstants.LEFT_SQUARE_BRACKET; |
| 104 | +import static io.microsphere.constants.SymbolConstants.LEFT_SQUARE_BRACKET_CHAR; |
| 105 | +import static io.microsphere.constants.SymbolConstants.PIPE_CHAR; |
| 106 | +import static io.microsphere.constants.SymbolConstants.RIGHT_SQUARE_BRACKET; |
| 107 | +import static io.microsphere.constants.SymbolConstants.RIGHT_SQUARE_BRACKET_CHAR; |
| 108 | +import static io.microsphere.constants.SymbolConstants.VERTICAL_BAR_CHAR; |
103 | 109 | import static java.io.File.pathSeparator; |
104 | 110 | import static java.io.File.separator; |
105 | 111 | import static java.lang.System.lineSeparator; |
@@ -176,8 +182,10 @@ public void test() { |
176 | 182 | assertEquals('_', UNDER_SCORE_CHAR); |
177 | 183 | assertEquals('-', HYPHEN_CHAR); |
178 | 184 | assertEquals('*', WILDCARD_CHAR); |
179 | | - assertEquals("|", VERTICAL_BAR); |
180 | | - assertEquals("|", PIPE); |
| 185 | + assertEquals('|', VERTICAL_BAR_CHAR); |
| 186 | + assertEquals('|', PIPE_CHAR); |
| 187 | + assertEquals('[', LEFT_SQUARE_BRACKET_CHAR); |
| 188 | + assertEquals(']', RIGHT_SQUARE_BRACKET_CHAR); |
181 | 189 |
|
182 | 190 | assertEquals(",", COMMA); |
183 | 191 | assertEquals(" ", SPACE); |
@@ -206,5 +214,7 @@ public void test() { |
206 | 214 | assertEquals("*", WILDCARD); |
207 | 215 | assertEquals("|", VERTICAL_BAR); |
208 | 216 | assertEquals("|", PIPE); |
| 217 | + assertEquals("[", LEFT_SQUARE_BRACKET); |
| 218 | + assertEquals("]", RIGHT_SQUARE_BRACKET); |
209 | 219 | } |
210 | 220 | } |
0 commit comments