Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Feb 4, 2025
1 parent 7563ecf commit 8702b9c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/pages/cw-multi-test/app-builder.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,9 @@ assert_eq!(value, app.storage().get(key).unwrap().as_slice());

Initializing a chain with a [`MockStorage{:rust}`][MockStorage] instance using the
[`with_storage{:rust}`][with_storage] method of [`AppBuilder{:rust}`][AppBuilder] allows for
sophisticated storage initialization before the chain starts. A simplified example
is shown below. In lines 8-9 the storage is created and initialized, then passed to
`with_storage{:rust}` method in line 11. The initialization code in line 9 can of course be more
complex in your test case.
sophisticated storage initialization before the chain starts. A simplified example is shown below.
In lines 8-9 the storage is created and initialized, then passed to `with_storage{:rust}` method in
line 11. The initialization code in line 9 can of course be more complex in your test case.

```rust showLineNumbers {8,9,11} /with_storage/
use cosmwasm_std::testing::MockStorage;
Expand Down

0 comments on commit 8702b9c

Please sign in to comment.