aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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