[all-commits] [llvm/llvm-project] 53b135: [lldb][NFC] Refactor TestSafeFuncCalls.py

Raphael Isemann via All-commits all-commits at lists.llvm.org
Fri Mar 6 15:47:15 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 53b135eeb491802e1fab5edc5435874acb4770da
      https://github.com/llvm/llvm-project/commit/53b135eeb491802e1fab5edc5435874acb4770da
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-03-06 (Fri, 06 Mar 2020)

  Changed paths:
    M lldb/test/API/macosx/safe-to-func-call/TestSafeFuncCalls.py

  Log Message:
  -----------
  [lldb][NFC] Refactor TestSafeFuncCalls.py

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.

Reviewers: JDevlieghere

Reviewed By: JDevlieghere

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D75497




More information about the All-commits mailing list