[Lldb-commits] [PATCH] D86603: [lldb] Correct wording of EXP_MSG
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 26 03:52:38 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9ad5d37fd917: [lldb] Correct wording of EXP_MSG (authored by DavidSpickett).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86603/new/
https://reviews.llvm.org/D86603
Files:
lldb/packages/Python/lldbsuite/test/lldbtest.py
Index: lldb/packages/Python/lldbsuite/test/lldbtest.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -190,11 +190,11 @@
def EXP_MSG(str, actual, exe):
- '''A generic "'%s' returns expected result" message generator if exe.
- Otherwise, it generates "'%s' matches expected result" message.'''
+ '''A generic "'%s' returned unexpected result" message generator if exe.
+ Otherwise, it generates "'%s' does not match expected result" message.'''
- return "'%s' %s expected result, got '%s'" % (
- str, 'returns' if exe else 'matches', actual.strip())
+ return "'%s' %s result, got '%s'" % (
+ str, 'returned unexpected' if exe else 'does not match expected', actual.strip())
def SETTING_MSG(setting):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86603.287908.patch
Type: text/x-patch
Size: 871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200826/86c3e98e/attachment-0001.bin>
More information about the lldb-commits
mailing list