From 3394019790216360933090478665025216727891 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 11 Apr 2024 15:54:34 -0400 Subject: Rename lineWidth -> paddingCols in GetTypeLines() This is a more accurate name for what the parameter actually does. Documentation was improved as well. --- suite/api_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'suite/api_test.py') diff --git a/suite/api_test.py b/suite/api_test.py index dfba75ae..7054008a 100644 --- a/suite/api_test.py +++ b/suite/api_test.py @@ -1022,7 +1022,7 @@ class TestTypePrinter(unittest.TestCase): return f" bottom text" def get_type_lines(self, type: types.Type, container: typecontainer.TypeContainer, name: types.QualifiedName, - line_width, collapsed, escaping: TokenEscapingType) -> List[types.TypeDefinitionLine]: + padding_cols, collapsed, escaping: TokenEscapingType) -> List[types.TypeDefinitionLine]: return [ TypeDefinitionLine(TypeDefinitionLineType.TypedefLineType, [ InstructionTextToken(InstructionTextTokenType.TextToken, "the type is: ", 0), -- cgit v1.3.1