diff --git a/docs/concepts/gno-test.md b/docs/concepts/gno-test.md index d264b00c7da..57eff8f39f0 100644 --- a/docs/concepts/gno-test.md +++ b/docs/concepts/gno-test.md @@ -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). diff --git a/docs/reference/standard-library/std/testing.md b/docs/reference/standard-library/std/testing.md index eb18c4bb1a0..8c9146c81a1 100644 --- a/docs/reference/standard-library/std/testing.md +++ b/docs/reference/standard-library/std/testing.md @@ -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) ```