diff options
| author | Thomas Preud'homme <thomasp@graphcore.ai> | 2020-01-16 12:14:13 +0000 |
|---|---|---|
| committer | Thomas Preud'homme <thomasp@graphcore.ai> | 2020-01-23 11:31:53 +0000 |
| commit | f1ad192915f64e3eeedfb01aa1073e81bff4e1a1 (patch) | |
| tree | 261949b1b273b9a94137a3076d107eb2f6d9901a /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 03cae086f41c48a971329dc5a1f4a76c1c6af036 (diff) | |
[FileCheck] Strengthen error checks in unit tests
Summary:
This commit adds error checking beyond UndefVarError and fix a number of
Error/Expected related idioms:
- use (EXPECT|ASSERT)_THAT_(ERROR|EXPECTED) instead of errorToBool or
boolean operator
- ASSERT when a further check require the check to be successful to give
a correct result
Reviewers: jhenderson, jdenny, probinson, grimar, arichardson, rnk
Reviewed By: jhenderson
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72914
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
