HomePhabricator

Improve tests for the string format linter

Description

Improve tests for the string format linter

Summary:
Add high level doctests to check that detection is working as expected.

Depends on D2025

Test Plan:

python3 -m doctest -v test/lint/lint-format-strings.py

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2225

Details

Provenance
FabienAuthored on Dec 28 2018, 10:13
FabienPushed on Dec 30 2018, 13:45
Reviewer
Restricted Project
Differential Revision
D2225: Improve tests for the string format linter
Parents
rABC9dde3da1bac9: Remove check for thread_local in build systems
Branches
Unknown
Tags
Unknown