diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2018-11-27 14:44:23 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2018-11-27 14:44:23 -0500 |
commit | c77f09230b442aca03f16741ddb3ea1540c7512b (patch) | |
tree | 947fa70c4efc962b379ff6e1d25787b17d5f0f33 /src | |
parent | b5c3d7affc9890f13dbd2d13967238f798d984a3 (diff) |
Fix descriptor_tests not checking ToString output of public descriptors
Diffstat (limited to 'src')
-rw-r--r-- | src/test/descriptor_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/descriptor_tests.cpp b/src/test/descriptor_tests.cpp index 57e4b067c0..e1ef619313 100644 --- a/src/test/descriptor_tests.cpp +++ b/src/test/descriptor_tests.cpp @@ -62,7 +62,7 @@ void Check(const std::string& prv, const std::string& pub, int flags, const std: // Check that both versions serialize back to the public version. std::string pub1 = parse_priv->ToString(); - std::string pub2 = parse_priv->ToString(); + std::string pub2 = parse_pub->ToString(); BOOST_CHECK_EQUAL(pub, pub1); BOOST_CHECK_EQUAL(pub, pub2); |