Skip to content

Commit

Permalink
Merge pull request #157 from CosmWasm/fixing-typos
Browse files Browse the repository at this point in the history
Fixed typos
  • Loading branch information
DariuszDepta authored Mar 27, 2024
2 parents 41fbc69 + bc2f231 commit 97eed88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/prefixed_storage/length_prefixed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down Expand Up @@ -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());
Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Reply> = app.wrap().query_wasm_smart(&reflect_addr, &query);
res.unwrap_err();
Expand Down

0 comments on commit 97eed88

Please sign in to comment.