Skip to content

Commit

Permalink
chore: use .to_string instead of relying on Eq
Browse files Browse the repository at this point in the history
  • Loading branch information
oleonardolima committed Feb 16, 2024
1 parent b159223 commit 289d1f1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions waila/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -896,11 +896,13 @@ mod tests {
assert_eq!(parsed.invoice(), None);
assert_eq!(parsed.node_pubkey(), None);
assert_eq!(parsed.amount(), Some(Amount::from_sat(10)));
// TODO: (@leonardo) there is not `Eq` implementation for `fedimint-mint-client::OOBNotes`
// assert_eq!(
// parsed.fedimint_oob_notes(),
// Some(OOBNotes::from_str(SAMPLE_FEDIMINT_OOB_NOTES).unwrap())
// )
// NOTE: (@leonardo) there is not `Eq` implementation for `fedimint-mint-client::OOBNotes`
assert_eq!(
parsed.fedimint_oob_notes().unwrap().to_string(),
OOBNotes::from_str(SAMPLE_FEDIMINT_OOB_NOTES)
.unwrap()
.to_string()
)
}

#[test]
Expand Down

0 comments on commit 289d1f1

Please sign in to comment.