diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 1ea29b3..2d054f9 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -2358,7 +2358,7 @@ FileCheck output: start = 0 for substr in substrs: index = output[start:].find(substr) - start = start + index if ordered and matching else 0 + start = start + index + len(substr) if ordered and matching else 0 matched = index != -1 log_lines.append("{} sub string: \"{}\" ({})".format( expecting_str, substr, found_str(matched))) |