From bc2f2312916dbc4ce89c64051b00fa240c3393bb Mon Sep 17 00:00:00 2001 From: Dariusz Depta Date: Wed, 27 Mar 2024 11:30:52 +0100 Subject: [PATCH] Fixed typos. --- src/prefixed_storage/length_prefixed.rs | 4 ++-- src/tests/test_app.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/prefixed_storage/length_prefixed.rs b/src/prefixed_storage/length_prefixed.rs index 18543f50..c00bb2a5 100644 --- a/src/prefixed_storage/length_prefixed.rs +++ b/src/prefixed_storage/length_prefixed.rs @@ -85,7 +85,7 @@ mod tests { #[test] fn to_length_prefixed_calculates_capacity_correctly() { // Those tests cannot guarantee the required capacity was calculated correctly before - // the vector allocation but increase the likelyhood of a proper implementation. + // the vector allocation but increase the likelihood of a proper implementation. let key = to_length_prefixed(b""); assert_eq!(key.capacity(), key.len()); @@ -144,7 +144,7 @@ mod tests { #[test] fn to_length_prefixed_nested_calculates_capacity_correctly() { // Those tests cannot guarantee the required capacity was calculated correctly before - // the vector allocation but increase the likelyhood of a proper implementation. + // the vector allocation but increase the likelihood of a proper implementation. let key = to_length_prefixed_nested(&[]); assert_eq!(key.capacity(), key.len()); diff --git a/src/tests/test_app.rs b/src/tests/test_app.rs index 9868298c..685234eb 100644 --- a/src/tests/test_app.rs +++ b/src/tests/test_app.rs @@ -622,7 +622,7 @@ fn reflect_sub_message_reply_works() { ) .unwrap(); - // no reply writen beforehand + // no reply written beforehand let query = reflect::QueryMsg::Reply { id: 123 }; let res: StdResult = app.wrap().query_wasm_smart(&reflect_addr, &query); res.unwrap_err();