Skip to content

Conversation

@laanwj
Copy link
Member

@laanwj laanwj commented Nov 18, 2017

Scope the variable instead of using an external global; this is how test fixtures are intended to be used.

Followup to #11713.

@laanwj laanwj added the Tests label Nov 18, 2017
@laanwj laanwj force-pushed the 2017_11_wallet_test_fixture branch from 45add22 to 088e551 Compare November 18, 2017 13:15
Scope the variable instead of using an external global; this is how test
fixtures are intended to be used.

Followup to bitcoin#11713.
@laanwj laanwj force-pushed the 2017_11_wallet_test_fixture branch from 088e551 to 49bd659 Compare November 18, 2017 13:16
@jamesob
Copy link
Contributor

jamesob commented Nov 18, 2017

utACK 49bd659

@sipa
Copy link
Member

sipa commented Nov 18, 2017

utACK 49bd659

@laanwj laanwj merged commit 49bd659 into bitcoin:master Nov 19, 2017
laanwj added a commit that referenced this pull request Nov 19, 2017
49bd659 tests: move pwalletMain to wallet test fixture (Wladimir J. van der Laan)

Pull request description:

  Scope the variable instead of using an external global; this is how test fixtures are intended to be used.

  Followup to #11713.

Tree-SHA512: 7d5bda93cdfe1329c8fe39bd72965906e36dad72fbb5d344ebedf26e66b1857510d01a3c2872d7f718fdeb23365e6ba71991aafe68e82781c6767a086b6d1590
@maflcko
Copy link
Member

maflcko commented Nov 27, 2017

post merge utACK 49bd659

PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Mar 24, 2020
49bd659 tests: move pwalletMain to wallet test fixture (Wladimir J. van der Laan)

Pull request description:

  Scope the variable instead of using an external global; this is how test fixtures are intended to be used.

  Followup to bitcoin#11713.

Tree-SHA512: 7d5bda93cdfe1329c8fe39bd72965906e36dad72fbb5d344ebedf26e66b1857510d01a3c2872d7f718fdeb23365e6ba71991aafe68e82781c6767a086b6d1590
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants