Skip to content

Commit c77f092

Browse files
committed
Fix descriptor_tests not checking ToString output of public descriptors
1 parent b5c3d7a commit c77f092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/descriptor_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void Check(const std::string& prv, const std::string& pub, int flags, const std:
6262

6363
// Check that both versions serialize back to the public version.
6464
std::string pub1 = parse_priv->ToString();
65-
std::string pub2 = parse_priv->ToString();
65+
std::string pub2 = parse_pub->ToString();
6666
BOOST_CHECK_EQUAL(pub, pub1);
6767
BOOST_CHECK_EQUAL(pub, pub2);
6868

0 commit comments

Comments
 (0)