Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(std/testing): fix NewUserRealm reference usage (#3178)
FIX: https://docs.gno.land/reference/stdlibs/std/testing/#testsetrealm FROM #### Usage ```go addr := std.Address("g1ecely4gjy0yl6s9kt409ll330q9hk2lj9ls3ec") std.TestSetRealm(std.NewUserRealm("")) // or std.TestSetRealm(std.NewCodeRealm("gno.land/r/demo/users")) ``` TO #### Usage ```go addr := std.Address("g1ecely4gjy0yl6s9kt409ll330q9hk2lj9ls3ec") std.TestSetRealm(std.NewUserRealm(addr)) // or std.TestSetRealm(std.NewCodeRealm("gno.land/r/demo/users")) ``` <details><summary>Contributors' checklist...</summary> - [x] Added new tests, or not needed, or not feasible - [x] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [x] Updated the official documentation or not needed - [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [x] Added references to related issues and PRs - [x] Provided any useful hints for running manual tests </details>
- Loading branch information