Skip to content

Commit

Permalink
test(stub): Fix test affected by custom config removal
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcheung committed Nov 7, 2024
1 parent 6909f79 commit a8c079f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-stub/test-annotations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
def check_if_element_is_comment(el: e._Element) -> bool:
# The following should not be an error.
# It is a valid check that an element is a comment.
return el.tag == e.Comment # ER: Non-overlapping equality check .+ \[comparison-overlap\]
return el.tag == e.Comment
comm = e.Comment("comment")
print(comm.tag == e.Comment)
Expand Down

0 comments on commit a8c079f

Please sign in to comment.