Skip to content

Commit

Permalink
test: fix test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilerd committed Mar 28, 2024
1 parent d8a826b commit dc5bcb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zhang-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ mod test {

let mut operations = ledger.operations();
let mut errors = operations.errors()?;
assert_eq!(&errors.len(), 1);
assert_eq!(errors.len(), 1);
let domain = errors.pop().unwrap();
assert_eq!(domain.error_type, ErrorKind::AccountBalanceCheckError);
assert_eq!(domain.metas.get("account_name").unwrap(), "Assets:MyCard");
Expand Down

0 comments on commit dc5bcb9

Please sign in to comment.