Skip to content

Commit 2626520

Browse files
committed
Updated some tests
1 parent b4fdb55 commit 2626520

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

JShellWrapper/src/test/java/JShellWrapperStartupScriptTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ void testDoubleSnippets() {
2626
3
2727
println(List.of("a", "b", "c"))
2828
29+
2930
false
3031
[a, b, c]\\n
3132
OK

JShellWrapper/src/test/java/JShellWrapperTest.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,15 @@ void testTimeout() {
148148
while(true);""",
149149
"""
150150
OK
151-
0
151+
1
152+
VALID
153+
ADDITION
154+
1
155+
while(true);
156+
NONE
152157
TIMEOUT
153158
while(true);
154-
159+
155160
false
156161
""");
157162
}

0 commit comments

Comments
 (0)