This is an automated email from the ASF dual-hosted git repository.
paulk-asert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 0c3de4c65e minor refactor: improve test robustness for groovysh on CI
(cont'd)
0c3de4c65e is described below
commit 0c3de4c65e2bce6dcdba88cb85cb1122e7d1fab3
Author: Paul King <[email protected]>
AuthorDate: Sun May 24 20:06:11 2026 +1000
minor refactor: improve test robustness for groovysh on CI (cont'd)
---
.../org/apache/groovy/groovysh/commands/SystemTestSupport.groovy | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/subprojects/groovy-groovysh/src/test/groovy/org/apache/groovy/groovysh/commands/SystemTestSupport.groovy
b/subprojects/groovy-groovysh/src/test/groovy/org/apache/groovy/groovysh/commands/SystemTestSupport.groovy
index 362e2bef9d..3c32761692 100644
---
a/subprojects/groovy-groovysh/src/test/groovy/org/apache/groovy/groovysh/commands/SystemTestSupport.groovy
+++
b/subprojects/groovy-groovysh/src/test/groovy/org/apache/groovy/groovysh/commands/SystemTestSupport.groovy
@@ -76,7 +76,7 @@ abstract class SystemTestSupport extends ConsoleTestSupport {
terminal = TerminalBuilder.builder()
.type('dumb')
.graphemeCluster(false)
- .size(new Size(80, 24))
+ .size(new Size(120, 60))
.streams(new ByteArrayInputStream(new byte[0]), terminalBytes)
.encoding(StandardCharsets.UTF_8)
.name('groovysh-test')
@@ -104,6 +104,7 @@ abstract class SystemTestSupport extends ConsoleTestSupport
{
*/
protected String terminalOutput() {
terminal?.writer()?.flush()
+ terminal?.flush()
new String(terminalBytes.toByteArray(), StandardCharsets.UTF_8)
}