Skip to content

Commit

Permalink
add fncall parsing negative test
Browse files Browse the repository at this point in the history
  • Loading branch information
z80dev committed Dec 14, 2024
1 parent a1b0ce7 commit 2ab1a7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ def test_parse_fncall_expression():

text = "self.foo(self.bar())"
assert utils.parse_fncall_expression(text) == ("self", "bar")

text = "foobar"
assert utils.parse_fncall_expression(text) == None

0 comments on commit 2ab1a7a

Please sign in to comment.