@@ -16,7 +16,7 @@ async def test_cut():
1616 await pilot .press (* "Hello, World" )
1717 await pilot .press ("left" , "shift+left" , "shift+left" )
1818 await pilot .press ("ctrl+x" )
19- assert text_area .document . text == "Hello, Wod"
19+ assert text_area .text == "Hello, Wod"
2020 assert app .clipboard == "rl"
2121
2222
@@ -29,7 +29,7 @@ async def test_copy():
2929 await pilot .press (* "Hello, World" )
3030 await pilot .press ("left" , "shift+left" , "shift+left" )
3131 await pilot .press ("ctrl+c" )
32- assert text_area .document . text == "Hello, World"
32+ assert text_area .text == "Hello, World"
3333 assert app .clipboard == "rl"
3434
3535
@@ -44,9 +44,9 @@ async def test_paste():
4444 "shift+left" , "shift+left" , "shift+left" , "shift+left" , "shift+left"
4545 )
4646 await pilot .press ("ctrl+c" )
47- assert text_area .document . text == "Hello, World"
47+ assert text_area .text == "Hello, World"
4848 assert app .clipboard == "World"
4949 await pilot .press ("ctrl+v" )
50- assert text_area .document . text == "Hello, World"
50+ assert text_area .text == "Hello, World"
5151 await pilot .press ("ctrl+v" )
52- assert text_area .document . text == "Hello, WorldWorld"
52+ assert text_area .text == "Hello, WorldWorld"
0 commit comments