Skip to content

Commit 16a6518

Browse files
committed
Update SymbolConstantsTest.java
1 parent df03b8b commit 16a6518

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

microsphere-java-core/src/test/java/io/microsphere/constants/SymbolConstantsTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
import static io.microsphere.constants.SymbolConstants.HYPHEN_CHAR;
4646
import static io.microsphere.constants.SymbolConstants.LEFT_PARENTHESIS;
4747
import static io.microsphere.constants.SymbolConstants.LEFT_PARENTHESIS_CHAR;
48+
import static io.microsphere.constants.SymbolConstants.LEFT_SQUARE_BRACKET;
49+
import static io.microsphere.constants.SymbolConstants.LEFT_SQUARE_BRACKET_CHAR;
4850
import static io.microsphere.constants.SymbolConstants.LESS_THAN;
4951
import static io.microsphere.constants.SymbolConstants.LESS_THAN_CHAR;
5052
import static io.microsphere.constants.SymbolConstants.LESS_THAN_OR_EQUAL_TO;
@@ -58,6 +60,8 @@
5860
import static io.microsphere.constants.SymbolConstants.QUOTE_CHAR;
5961
import static io.microsphere.constants.SymbolConstants.RIGHT_PARENTHESIS;
6062
import static io.microsphere.constants.SymbolConstants.RIGHT_PARENTHESIS_CHAR;
63+
import static io.microsphere.constants.SymbolConstants.RIGHT_SQUARE_BRACKET;
64+
import static io.microsphere.constants.SymbolConstants.RIGHT_SQUARE_BRACKET_CHAR;
6165
import static io.microsphere.constants.SymbolConstants.SEMICOLON;
6266
import static io.microsphere.constants.SymbolConstants.SEMICOLON_CHAR;
6367
import static io.microsphere.constants.SymbolConstants.SHARP;
@@ -110,6 +114,8 @@ public void test() {
110114
assertEquals('*', WILDCARD_CHAR);
111115
assertEquals('|', VERTICAL_BAR_CHAR);
112116
assertEquals('|', PIPE_CHAR);
117+
assertEquals('[', LEFT_SQUARE_BRACKET_CHAR);
118+
assertEquals(']', RIGHT_SQUARE_BRACKET_CHAR);
113119

114120
assertEquals(",", COMMA);
115121
assertEquals(" ", SPACE);
@@ -139,5 +145,7 @@ public void test() {
139145
assertEquals("*", WILDCARD);
140146
assertEquals("|", VERTICAL_BAR);
141147
assertEquals("|", PIPE);
148+
assertEquals("[", LEFT_SQUARE_BRACKET);
149+
assertEquals("]", RIGHT_SQUARE_BRACKET);
142150
}
143151
}

0 commit comments

Comments
 (0)