Skip to content

Commit 25a0978

Browse files
committed
Update expect's docstring
1 parent dd2bf73 commit 25a0978

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lldb/packages/Python/lldbsuite/test/lldbtest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,8 +2356,9 @@ def expect(
23562356
matches the patterns contained in 'patterns'.
23572357
23582358
When matching is true and ordered is true, which are both the default,
2359-
the strings in the substrs array have to appear in the command output
2360-
in the order in which they appear in the array.
2359+
the strings in the substrs array, and regex in the patterns array, have
2360+
to appear in the command output in the order in which they appear in
2361+
their respective array.
23612362
23622363
If the keyword argument error is set to True, it signifies that the API
23632364
client is expecting the command to fail. In this case, the error stream

0 commit comments

Comments
 (0)