Skip to content

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

module/jsonurl-core/src/test/java/org/jsonurl/JsonUrlStringBuilderTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void testText() throws IOException {
104104
"f", "fa", "fal", "fals", "False", "fAlse", "faLse", "falSe", "falsE",
105105
"n", "nu", "nul", "Null", "nUll", "nuLl", "nulL",
106106
})
107-
public void testNonLiteral(String text) throws IOException {
107+
void testNonLiteral(String text) throws IOException {
108108
testValue(text, false);
109109
}
110110

@@ -115,11 +115,11 @@ public void testNonLiteral(String text) throws IOException {
115115
@ValueSource(strings = {
116116
"true", "false", "null", "1", "1.0", "1e3",
117117
})
118-
public void testLiteral(String text) throws IOException {
118+
void testLiteral(String text) throws IOException {
119119
testValue(text, true);
120120
}
121121

122-
public void testValue(String text, boolean isLiteral) throws IOException {
122+
private void testValue(String text, boolean isLiteral) throws IOException {
123123
String expected = isLiteral ? '\'' + text + '\'' : text;
124124
assertEquals(text, new JsonUrlStringBuilder().addKey(text).build());
125125
assertEquals(expected, new JsonUrlStringBuilder().add(text).build());

0 commit comments

Comments
 (0)