mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Improve line counting operation in WPT UI output
This commit is contained in:
parent
359d812ed7
commit
dfac35c77d
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class GroupingFormatter(base.BaseFormatter):
|
|||
if not self.interactive or not self.current_display:
|
||||
return ""
|
||||
return ((self.move_up + self.clear_eol) *
|
||||
len(self.current_display.splitlines()))
|
||||
self.current_display.count('\n'))
|
||||
|
||||
def generate_output(self, text=None, new_display=None):
|
||||
if not self.interactive:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue