Skip to content

Commit

Permalink
fix: from_seed_rejects_bad_prefix test
Browse files Browse the repository at this point in the history
  • Loading branch information
joonas authored and brooksmtownsend committed Jun 7, 2024
1 parent f105687 commit c321ffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
- name: Format check
run: cargo fmt --all -- --check
- name: Test
run: cargo test
run: cargo test --all-features
2 changes: 1 addition & 1 deletion src/xkeys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ mod tests {

#[test]
fn from_seed_rejects_bad_prefix() {
let seed = "FAAPN4W3EG6KCJGUQTKTJ5GSB5NHK5CHAJL4DBGFUM3HHROI4XUEP4OBK4";
let seed = "SZAIB67JMUPS5OKP6BZNCFTIMHOTS6JIX2C53TLSNEROIRFBJLSK3NUOVY";
let pair = XKey::from_seed(seed);
assert!(pair.is_err());
if let Err(e) = pair {
Expand Down

0 comments on commit c321ffb

Please sign in to comment.