aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorcoletdjnz <coletdjnz@protonmail.com>2025-04-18 11:34:30 +1200
committerGitHub <noreply@github.com>2025-04-18 11:34:30 +1200
commit72ba4879304c2082fecbb472e6cc05ee2d154a3b (patch)
treefea197edeb1de2b0ed0dddc09eb02eef8b6d1752 /test
parent74e90dd9b8f9c1a5c48a2515126654f4d398d687 (diff)
[ie/youtube:tab] Extract continuation from empty page (#12938)
Fixes https://github.com/yt-dlp/yt-dlp/issues/12933 https://github.com/yt-dlp/yt-dlp/issues/8206 Authored by: coletdjnz
Diffstat (limited to 'test')
-rw-r--r--test/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helper.py b/test/helper.py
index 4169af799..e4cb478e2 100644
--- a/test/helper.py
+++ b/test/helper.py
@@ -136,7 +136,7 @@ def _iter_differences(got, expected, field):
return
if op == 'startswith':
- if not val.startswith(got):
+ if not got.startswith(val):
yield field, f'should start with {val!r}, got {got!r}'
return