This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFC] Refactor TestSafeFuncCalls.py
ClosedPublic

Authored by teemperor on Mar 2 2020, 5:46 PM.

Details

Summary

This patch inlines all the single-line functions that we only use once in the test
and replaces the assertTrue with an assertEquals to improve the error message
when this test fails.

Diff Detail

Event Timeline

teemperor created this revision.Mar 2 2020, 5:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2020, 5:46 PM
JDevlieghere accepted this revision.Mar 2 2020, 5:55 PM

Ship it

This revision is now accepted and ready to land.Mar 2 2020, 5:55 PM
This revision was automatically updated to reflect the committed changes.