Commit Graph

1 Commits

Author SHA1 Message Date
Rodrigo Girão Serrão
8fd3ccb32c Add tests for action parsing. (#2112)
* Add tests for action parsing.

[skip ci]

* Fix action parsing issues.

Related issues: #2088.

* Simplify action parsing.

Turns out that we can just wrap the string that we want to parse as the arguments in '({string_here},)', as per @willmcgugan's comment in the PR review.

Related review comments: https://github.com/Textualize/textual/pull/2112\#issuecomment-1481015988

---------

Co-authored-by: Will McGugan <willmcgugan@gmail.com>
2023-03-23 15:54:06 +00:00