tests: Ensure lines look right when checking tabs.
This commit is contained in:
parent
364d069e74
commit
4ef0c3e09f
@ -371,6 +371,7 @@ def check_open_tabs(quteproc, tabs):
|
||||
|
||||
for i, line in enumerate(tabs):
|
||||
line = line.strip()
|
||||
assert line.startswith('- ')
|
||||
line = line[2:] # remove "- " prefix
|
||||
if line.endswith(active_suffix):
|
||||
path = line[:-len(active_suffix)]
|
||||
|
Loading…
Reference in New Issue
Block a user