Skip to content

Commit 85e2a81

Browse files
committed
Fix change in Miniscript error string
1 parent a986689 commit 85e2a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reserves.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ mod test {
353353
}
354354

355355
#[test]
356-
#[should_panic(expected = "Descriptor(Miniscript(Unexpected(\"Key too short")]
356+
#[should_panic(expected = "Descriptor(Miniscript(Unexpected(\"unexpected «Key too short (<66 char), doesn't match any format»\")))")]
357357
fn invalid_descriptor() {
358358
let descriptor = "wpkh(cVpPVqXRyPcFW)";
359359
let (wallet, _, _) = get_funded_wallet(descriptor);

0 commit comments

Comments
 (0)