From d9c926aff8287ddd241cc2d956f1d396cbf1e219 Mon Sep 17 00:00:00 2001 From: Charles Lanahan Date: Mon, 23 Oct 2023 09:46:29 -0400 Subject: [PATCH] Added back unhappy test and notated it as a test per PR change request --- src/core/bexter.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/core/bexter.rs b/src/core/bexter.rs index 13fb10b..1d20549 100644 --- a/src/core/bexter.rs +++ b/src/core/bexter.rs @@ -311,4 +311,17 @@ mod test { assert_eq!(bexter.qb2().unwrap(), qb2); assert_eq!(bexter.bext().unwrap(), bext); } + + #[rstest] + fn unhappy() { + assert!(Bexter::new( + None, + None, + None, + None, + Some("DKxy2sgzfplyr-tgwIxS19f2OchFHtLwPWD3v4oYimBx"), + None + ) + .is_err()); + } }