Skip to content

Commit

Permalink
test: check empty strings
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Mar 13, 2024
1 parent e1ebd99 commit b055b1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ fn decode_upper() {

#[test]
fn check() {
assert_eq!(const_hex::check(""), Ok(()));
assert!(const_hex::check_raw(""));

assert_eq!(const_hex::check(ALL_LOWER), Ok(()));
assert_eq!(const_hex::check(ALL_UPPER), Ok(()));
assert!(const_hex::check_raw(ALL_LOWER));
Expand Down

0 comments on commit b055b1e

Please sign in to comment.