Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(fix): remove leftover paragraph #1529

Merged
merged 3 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions docs/concepts/gno-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,4 @@ Internally, a GnoVM instance is initialized to run the test, and, at that moment
a blockchain-related context is injected into the GnoVM. Utilizing this context, the transaction sender,
coins, block height, etc. can be mocked.

## Manipulating blockchain context in tests
Some functions in the `std` package are exclusively accessible in `_test.gno`
and `_filetest.gno` files. These are located in the `std` package, and their primary role
is to alter the blockchain context for test runs.

For detailed information on these functions, refer to their [reference page](../reference/standard-library/std/testing.md).
2 changes: 1 addition & 1 deletion docs/reference/standard-library/std/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func TestIssueCoins(addr Address, coins Coins)
Issues testing context **coins** to **addr**.
#### Usage
```go
issue:= std.Coins{{"coin1", 100}, {"coin2", 200}}
issue := std.Coins{{"coin1", 100}, {"coin2", 200}}
addr := "g1ecely4gjy0yl6s9kt409ll330q9hk2lj9ls3ec"
std.TestIssueCoins(addr, issue)
```
Expand Down
Loading