@@ -375,7 +375,8 @@ def funct(case: str = sys.platform) -> None:
375375                ) 
376376                match case: 
377377                    case "emscripten": print("on the web") 
378-                     case "ios" | "android": print("on the phone") 
378+                     case "ios" | "android": 
379+                         print("on the phone") 
379380                    case _: print('arms around', match.group(1)) 
380381            """ 
381382        )
@@ -393,7 +394,8 @@ def funct(case: str = sys.platform) -> None:
393394                {o}){z} 
394395                {K}match{z} case{o}:{z} 
395396                    {K}case{z} {s}"emscripten"{z}{o}:{z} {b}print{z}{o}({z}{s}"on the web"{z}{o}){z} 
396-                     {K}case{z} {s}"ios"{z} {o}|{z} {s}"android"{z}{o}:{z} {b}print{z}{o}({z}{s}"on the phone"{z}{o}){z} 
397+                     {K}case{z} {s}"ios"{z} {o}|{z} {s}"android"{z}{o}:{z} 
398+                         {b}print{z}{o}({z}{s}"on the phone"{z}{o}){z} 
397399                    {K}case{z} {K}_{z}{o}:{z} {b}print{z}{o}({z}{s}'arms around'{z}{o},{z} match{o}.{z}group{o}({z}{n}1{z}{o}){z}{o}){z} 
398400            """ 
399401        )
@@ -402,14 +404,14 @@ def funct(case: str = sys.platform) -> None:
402404        reader , _  =  handle_all_events (events )
403405        self .assert_screen_equal (reader , code , clean = True )
404406        self .assert_screen_equal (reader , expected_sync )
405-         self .assertEqual (reader .pos , 2 ** 7   +   2 ** 8 )
406-         self .assertEqual (reader .cxy , (0 , 14 ))
407+         self .assertEqual (reader .pos , 396 )
408+         self .assertEqual (reader .cxy , (0 , 15 ))
407409
408410        async_msg  =  "{k}async{z} " .format (** colors )
409411        expected_async  =  expected .format (a = async_msg , ** colors )
410412        more_events  =  itertools .chain (
411413            code_to_events (code ),
412-             [Event (evt = "key" , data = "up" , raw = bytearray (b"\x1b OA" ))] *  13 ,
414+             [Event (evt = "key" , data = "up" , raw = bytearray (b"\x1b OA" ))] *  14 ,
413415            code_to_events ("async " ),
414416        )
415417        reader , _  =  handle_all_events (more_events )
0 commit comments