Skip to content

Commit e13c46a

Browse files
committed
Fix type hint assertion in Child class test to remove leading colon
1 parent 5822b58 commit e13c46a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/parsers/test_typescript_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class Child extends Base1 {
146146
assert len(cls.attributes) == 1
147147
attr = cls.attributes[0]
148148
assert attr.name == "classAttr"
149-
assert attr.type_hint == ": number"
149+
assert attr.type_hint == "number"
150150
assert attr.value == "10"
151151
assert len(cls.methods) >= 2
152152
method1 = next(m for m in cls.methods if m.name == "constructor")

0 commit comments

Comments
 (0)