File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1438,7 +1438,7 @@ def compose(self) -> ComposeResult:
14381438
14391439 def on_mount (self ) -> None :
14401440 table = self .query_one (DataTable )
1441- table .border_title = "[@click=test_link]Border Link[/]"
1441+ table .border_title = "[@click=app. test_link]Border Link[/]"
14421442
14431443 def action_test_link (self ) -> None :
14441444 self .link_clicked = True
Original file line number Diff line number Diff line change @@ -10,16 +10,15 @@ async def test_issue_4248() -> None:
1010 bumps = 0
1111
1212 class ActionApp (App [None ]):
13-
1413 def compose (self ) -> ComposeResult :
1514 yield Label ("[@click]click me and crash[/]" , id = "nothing" )
1615 yield Label ("[@click=]click me and crash[/]" , id = "no-params" )
1716 yield Label ("[@click=()]click me and crash[/]" , id = "empty-params" )
1817 yield Label ("[@click=foobar]click me[/]" , id = "unknown-sans-parens" )
1918 yield Label ("[@click=foobar()]click me[/]" , id = "unknown-with-parens" )
20- yield Label ("[@click=bump]click me[/]" , id = "known-sans-parens" )
21- yield Label ("[@click=bump()]click me[/]" , id = "known-empty-parens" )
22- yield Label ("[@click=bump(100)]click me[/]" , id = "known-with-param" )
19+ yield Label ("[@click=app. bump]click me[/]" , id = "known-sans-parens" )
20+ yield Label ("[@click=app. bump()]click me[/]" , id = "known-empty-parens" )
21+ yield Label ("[@click=app. bump(100)]click me[/]" , id = "known-with-param" )
2322
2423 def action_bump (self , by_value : int = 1 ) -> None :
2524 nonlocal bumps
You can’t perform that action at this time.
0 commit comments