Skip to content

Commit f6e9c61

Browse files
authored
Merge pull request #2086 from kindhuge/main
chore: fix some comments
2 parents 6f46db9 + 16b8b95 commit f6e9c61

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/std/src/testing/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ fn validate_length(bytes: &[u8]) -> StdResult<()> {
294294
}
295295
}
296296

297-
/// Returns a default enviroment with height, time, chain_id, and contract address
297+
/// Returns a default environment with height, time, chain_id, and contract address
298298
/// You can submit as is to most contracts, or modify height/time if you want to
299299
/// test for expiration.
300300
///

packages/vm/src/compatibility.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ mod tests {
303303
"Wasm contract has unknown interface_version_* marker export (see https://github.com/CosmWasm/cosmwasm/blob/main/packages/vm/README.md)"
304304
),
305305
Err(e) => panic!("Unexpected error {e:?}"),
306-
Ok(_) => panic!("This must not succeeed"),
306+
Ok(_) => panic!("This must not succeed"),
307307
};
308308

309309
match check_wasm(CONTRACT_0_14, &default_capabilities()) {
@@ -312,7 +312,7 @@ mod tests {
312312
"Wasm contract has unknown interface_version_* marker export (see https://github.com/CosmWasm/cosmwasm/blob/main/packages/vm/README.md)"
313313
),
314314
Err(e) => panic!("Unexpected error {e:?}"),
315-
Ok(_) => panic!("This must not succeeed"),
315+
Ok(_) => panic!("This must not succeed"),
316316
};
317317

318318
match check_wasm(CONTRACT_0_12, &default_capabilities()) {
@@ -322,7 +322,7 @@ mod tests {
322322
))
323323
}
324324
Err(e) => panic!("Unexpected error {e:?}"),
325-
Ok(_) => panic!("This must not succeeed"),
325+
Ok(_) => panic!("This must not succeed"),
326326
};
327327

328328
match check_wasm(CONTRACT_0_7, &default_capabilities()) {
@@ -332,7 +332,7 @@ mod tests {
332332
))
333333
}
334334
Err(e) => panic!("Unexpected error {e:?}"),
335-
Ok(_) => panic!("This must not succeeed"),
335+
Ok(_) => panic!("This must not succeed"),
336336
};
337337
}
338338

packages/vm/src/testing/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ fn validate_length(bytes: &[u8]) -> Result<(), BackendError> {
211211
}
212212
}
213213

214-
/// Returns a default enviroment with height, time, chain_id, and contract address
214+
/// Returns a default environment with height, time, chain_id, and contract address
215215
/// You can submit as is to most contracts, or modify height/time if you want to
216216
/// test for expiration.
217217
///

0 commit comments

Comments
 (0)