File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -641,6 +641,7 @@ def test_cursor_stays_at_bottom_of_screen(self):
641
641
def test_unhighlight_paren_bugs (self ):
642
642
"""two previous bugs, parent didn't highlight until next render
643
643
and paren didn't unhighlight until enter"""
644
+ self .repl .width = 32
644
645
self .assertEqual (self .repl .rl_history .entries , ["" ])
645
646
self .enter ("(" )
646
647
self .assertEqual (self .repl .rl_history .entries , ["" ])
@@ -657,7 +658,8 @@ def test_unhighlight_paren_bugs(self):
657
658
[
658
659
cyan (">>> " ) + on_magenta (bold (red ("(" ))),
659
660
green ("... " ) + on_magenta (bold (red (")" ))),
660
- ]
661
+ ],
662
+ width = 32
661
663
)
662
664
self .assert_paint (screen , (1 , 5 ))
663
665
@@ -667,7 +669,8 @@ def test_unhighlight_paren_bugs(self):
667
669
[
668
670
cyan (">>> " ) + yellow ("(" ),
669
671
green ("... " ) + yellow (")" ) + bold (cyan (" " )),
670
- ]
672
+ ],
673
+ width = 32
671
674
)
672
675
self .assert_paint (screen , (1 , 6 ))
673
676
You can’t perform that action at this time.
0 commit comments