Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

txscript: Cleanup opcode removal by data tests. #1702

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Mar 26, 2019

This converts the test definitions for TestRemoveOpcodeByData to make use of mustParseShortForm which improves the readability and construction of the tests as well as makes them more consistent with the rest of the code base.

It also cleans up the recently added stake tx tests so that they don't exceed col 80 and sets their names to indicate they are p2pkh and p2sh forms.

@davecgh davecgh added this to the 1.5.0 milestone Mar 26, 2019
This converts the test definitions for TestRemoveOpcodeByData to make
use of mustParseShortForm which improves the readability and
construction of the tests as well as makes them more consistent with the
rest of the code base.

It also cleans up the recently added stake tx tests so that they don't
exceed col 80 and sets their names to indicate they are p2pkh and p2sh
forms.
@davecgh davecgh force-pushed the txscript_opcode_data_removal_test_cleanup branch from c15689a to f71b0d2 Compare March 28, 2019 22:25
@davecgh davecgh merged commit f71b0d2 into decred:master Mar 28, 2019
@davecgh davecgh deleted the txscript_opcode_data_removal_test_cleanup branch March 28, 2019 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants