Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(tm2/pkg/std): add failing regexp in MemPackage.Validate's errors (
#1673) This helps a cli user to know what went wrong directly (otherwise, he has to look at gno/tm2/pkg/std/memfile.go). Since the cli user is a technical one, it makes no sense to not show this. <!-- please provide a detailed description of the changes made in this pull request. --> <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 - [ ] Provided any useful hints for running manual tests - [ ] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md). </details> Co-authored-by: grepsuzette <grepsuzette@users.noreply.github.com>
- Loading branch information