Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Eason committed Aug 29, 2023
1 parent 0526fd7 commit 3df8053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/src/types/primitive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ mod tests {
let res = Hex::from_str("0x").unwrap();
assert!(res.is_empty());

assert!(Hex::from_str("123456").is_ok());
assert!(Hex::from_str("123456").is_err());
assert!(Hex::from_str("0x123f").is_ok());
}

Expand Down

0 comments on commit 3df8053

Please sign in to comment.