From 3486a92d0cb774bd3371262ad2cb9991aabc457a Mon Sep 17 00:00:00 2001 From: David Bajger Date: Mon, 5 Feb 2024 14:03:19 +0100 Subject: [PATCH] Increased table column width limit to 75. --- src/PharoLauncher-CLI-Tests/ConsoleListFormatterTest.class.st | 2 +- src/PharoLauncher-CLI/ConsoleListFormatter.class.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PharoLauncher-CLI-Tests/ConsoleListFormatterTest.class.st b/src/PharoLauncher-CLI-Tests/ConsoleListFormatterTest.class.st index cdbb4336..e7f77920 100644 --- a/src/PharoLauncher-CLI-Tests/ConsoleListFormatterTest.class.st +++ b/src/PharoLauncher-CLI-Tests/ConsoleListFormatterTest.class.st @@ -306,7 +306,7 @@ ConsoleListFormatterTest >> testTableColumnWidthLimit [ | size short longer longest| short := 'short'. longer := 'more long text'. - longest := 'some very very long string exceeding column width limit'. + longest := 'some very very very very very very very long string exceeding column width limit'. size := formatter getMaxPrintStringWidthFor: {longer. longest. short.} printBlock: [ :aStr | aStr asString ]. "longest string exceeds the table column width limit, so the maximum column size should be equal to that limit" diff --git a/src/PharoLauncher-CLI/ConsoleListFormatter.class.st b/src/PharoLauncher-CLI/ConsoleListFormatter.class.st index 78131940..72feb6a9 100644 --- a/src/PharoLauncher-CLI/ConsoleListFormatter.class.st +++ b/src/PharoLauncher-CLI/ConsoleListFormatter.class.st @@ -315,5 +315,5 @@ ConsoleListFormatter >> rowMode: aBool [ ConsoleListFormatter >> tableColumnWidthLimit [ "this is max size of table column, in case value in cell is exceeded, it will be shortened to this limit" - ^ 50 + ^ 75 ]