Page MenuHomePhabricator

scripted-diff: test: Remove brackets after assert
ClosedPublic

Authored by Fabien on Mon, Nov 4, 15:52.

Details

Summary

Partial backport of core PR14954 (commit fa0e65b):
https://github.com/bitcoin/bitcoin/pull/14954/commits/fa0e65b77264476c61832542ab1a9dbedcc738ea#diff-a43dbc1d8db3be80406ee42e2142d7f0

Original scripted-diff:

-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/assert ?\((.+)\)(( )*)?(#.*)?$/assert
\1\3\3\4/g' $(git grep -l --extended-regexp 'assert ?\(' test)
-END VERIFY SCRIPT-
Test Plan
./test/functional/test_runner.py --extended

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Mon, Nov 4, 15:52
Herald added a reviewer: Restricted Project. · View Herald TranscriptMon, Nov 4, 15:52
jasonbcox accepted this revision.Mon, Nov 4, 16:49
This revision is now accepted and ready to land.Mon, Nov 4, 16:49
This revision was automatically updated to reflect the committed changes.