Skip to content

Commit

Permalink
Add testcase scroll statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
CensoredUsername committed Feb 21, 2024
1 parent f528fbd commit b840f01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions decompiler/testcasedecompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ def print_click(self, ast):
if hasattr(ast, 'always') and ast.always:
self.write(' always')

@dispatch(testast.Scroll)
def print_scroll(self, ast):
self.indent()
self.write('scroll "%s"' % string_escape(ast.pattern))

@dispatch(testast.Until)
def print_until(self, ast):
if hasattr(ast.right, 'linenumber'):
Expand Down

0 comments on commit b840f01

Please sign in to comment.