Skip to content

Commit

Permalink
fix: update for new debug format for addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Jan 26, 2024
1 parent 5589e45 commit 4402a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frc46_token/src/token/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ mod test {
source: AddressError::UnknownNetwork,
};
assert_eq!(ExitCode::USR_NOT_FOUND, ExitCode::from(&err));
assert_eq!(err.to_string(), String::from("expected Address { payload: ID(1) } to be a resolvable id address but threw UnknownNetwork when attempting to resolve"));
assert_eq!(err.to_string(), String::from("expected Address(\"f01\") to be a resolvable id address but threw UnknownNetwork when attempting to resolve"));

let err = TokenError::InvalidOperator(Address::new_id(1));
assert_eq!(ExitCode::USR_ILLEGAL_ARGUMENT, ExitCode::from(&err));
Expand Down

0 comments on commit 4402a4f

Please sign in to comment.