summaryrefslogtreecommitdiff
path: root/suite/api_test.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-04-11 15:54:34 -0400
committerGlenn Smith <glenn@vector35.com>2024-04-11 15:54:34 -0400
commit3394019790216360933090478665025216727891 (patch)
tree9d0835e90f0d1c55da1cadb54234e38715207cb3 /suite/api_test.py
parent62036d41a3e7491e274a5ab4826bdac0522dac1b (diff)
Rename lineWidth -> paddingCols in GetTypeLines()
This is a more accurate name for what the parameter actually does. Documentation was improved as well.
Diffstat (limited to 'suite/api_test.py')
-rw-r--r--suite/api_test.py2
1 files changed, 1 insertions, 1 deletions
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),