Skip to content

Commit b498c45

Browse files
authored
correction documents (#262)
2 parents 44b4fac + 83eeac5 commit b498c45

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/pages/cw-multi-test/app-builder.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ The simplest way to create a chain using [`AppBuilder{:rust}`][AppBuilder] is by
4848
`default{:rust}` method. Since [`AppBuilder{:rust}`][AppBuilder] follows the principles of the
4949
builder pattern, you need to finalize the building process by calling the [`build{:rust}`][build]
5050
method with a chain initialization callback function. When no specific chain initialization is
51-
required you can just use provided [`no_init`](app#no_init) callback. In the following code example,
52-
the chain is created with default settings as described in
51+
required you can just use the provided [`no_init`](app#no_init) callback. In the following code
52+
example, the chain is created with default settings as described in
5353
[Features summary](features#features-summary).
5454

5555
```rust showLineNumbers {3} copy /default/ /build/
@@ -108,8 +108,8 @@ assert_eq!(
108108

109109
If you need to test contracts on your own chain that uses a specific Bech32 prefixes, you can easily
110110
customize the default [`MockApi{:rust}`][MockApi] behavior using the
111-
[`AppBuilder::with_api{:rust}`][with_api] method. An example of using `osmo` prefix is shown in
112-
the following code snippet.
111+
[`AppBuilder::with_api{:rust}`][with_api] method. An example of using `osmo` prefix is shown in the
112+
following code snippet.
113113

114114
```rust showLineNumbers copy {1,6} /with_api/ /osmo/
115115
use cosmwasm_std::testing::MockApi;

src/pages/cw-multi-test/features.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The following table summarizes feature flags supported by **`MultiTest`**.
6262
## Starting point
6363

6464
Usually, a good starting point when using **`MultiTest`** is the following dependency configuration
65-
in **Cargo.toml** file:
65+
in the **Cargo.toml** file:
6666

6767
```toml filename="Cargo.toml" copy
6868
[dependencies]

src/pages/cw-multi-test/getting-started/writing-tests.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Luckily, `clippy` reports no issues for the **counter** smart contract.
4949
## Preparing the directory structure for tests
5050

5151
Before we start writing tests, we need to set up the directories and files for the test cases. The
52-
final directory and file structure is shown below.
52+
final directory and file structure are shown below.
5353

5454
```ansi showLineNumbers {7-11} filename="counter (directory)"
5555
.

src/pages/cw-multi-test/getting-started/writing-tests/writing-tests-cosmwasm.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ Nice, you have reached 💯% code coverage.
11381138
 }
11391139
```
11401140

1141-
All functionalities of the **counter** smart contract has been tested, the code coverage report
1141+
All functionalities of the **counter** smart contract have been tested, the code coverage report
11421142
`shines green{:ansi}`.
11431143

11441144
## Test cases put all together

src/pages/cw-multi-test/getting-started/writing-tests/writing-tests-sylvia.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ Nice, you have reached 💯% code coverage.
10031003
 }
10041004
```
10051005

1006-
All functionalities of the **counter** smart contract has been tested, and the code coverage report
1006+
All functionalities of the **counter** smart contract have been tested, and the code coverage report
10071007
`shines green{:ansi}`.
10081008

10091009
## Test cases put all together

0 commit comments

Comments
 (0)