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

chore(tm2/pkg/std): add failing regexp in MemPackage.Validate's errors #1673

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

grepsuzette
Copy link
Contributor

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.

Contributors' checklist...
  • Added new tests, or not needed, or not feasible
  • Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory
  • Updated the official documentation or not needed
  • No breaking changes were made, or a BREAKING CHANGE: xxx message was included in the description
  • Added references to related issues and PRs
  • Provided any useful hints for running manual tests
  • Added new benchmarks to generated graphs, if any. More info here.

this helps a cli user to know what went wrong directly
(otherwise, he has to look at gno/tm2/pkg/std/memfile.go).
@thehowl thehowl changed the title chore: print failing regexp when failingly trying to addpkg chore(tm2/pkg/std): add failing regexp in MemPackage.Validate's errors Feb 21, 2024
@thehowl
Copy link
Member

thehowl commented Feb 21, 2024

Thanks!

@thehowl thehowl merged commit 9c898cd into gnolang:master Feb 21, 2024
66 of 70 checks passed
leohhhn pushed a commit to leohhhn/gno that referenced this pull request Feb 29, 2024
gnolang#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Status: No status
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants