Fix method name in tests

This commit is contained in:
adz
2024-03-11 14:44:06 +01:00
parent dae6d6e450
commit 367ffd91b2

View File

@@ -1630,8 +1630,8 @@ mod tests {
async fn test_keypair_saving() -> Result<()> {
let alice = TestContext::new_alice().await;
let key = alice.get_or_create_iroh_keypair().await?;
let loaded_key = alice.get_or_create_iroh_keypair().await?;
let key = alice.get_or_generate_iroh_keypair().await?;
let loaded_key = alice.get_or_generate_iroh_keypair().await?;
assert_eq!(key.to_bytes(), loaded_key.to_bytes());
Ok(())