We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d8ed86 commit b786cf0Copy full SHA for b786cf0
src/descriptor/mod.rs
@@ -1258,7 +1258,12 @@ mod tests {
1258
.unwrap()
1259
.to_string();
1260
1261
- assert_eq!(descriptor, "tr(,{pk(),pk()})#7dqr6v8r")
+ assert_eq!(descriptor, "tr(,{pk(),pk()})#7dqr6v8r");
1262
+
1263
+ let descriptor = Descriptor::<String>::from_str("tr(A,{pk(B),pk(C)})")
1264
+ .unwrap()
1265
+ .to_string();
1266
+ assert_eq!(descriptor, "tr(A,{pk(B),pk(C)})#y0uc9t6x");
1267
}
1268
1269
#[test]
0 commit comments