Skip to content

Commit 594f14c

Browse files
committed
JShellWrapper fixed tests
1 parent 6d59954 commit 594f14c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

JShellWrapper/src/test/java/JShellWrapperTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ void testSyntaxError() {
215215
0
216216
SYNTAX_ERROR
217217
print(
218-
print(\\n
218+
219219
false
220220
""");
221221
// CONSIDERED_INCOMPLETE
@@ -228,7 +228,7 @@ void testSyntaxError() {
228228
0
229229
SYNTAX_ERROR
230230
while(true)
231-
while(true)\\n
231+
232232
false
233233
""");
234234
evalTest("""
@@ -240,7 +240,7 @@ void testSyntaxError() {
240240
0
241241
SYNTAX_ERROR
242242
for(int i = 0; i < 10; i++)
243-
for(int i = 0; i < 10; i++)\\n
243+
244244
false
245245
""");
246246
}

0 commit comments

Comments
 (0)