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

test(gnovm): print unexpected error in filetests #2213

Merged
merged 2 commits into from
May 27, 2024

Conversation

thehowl
Copy link
Member

@thehowl thehowl commented May 27, 2024

If an error occurred in a filetest, this was not printed unless a specific // Error: directive was added. This adds printing for errors anytime that it doesn't match the expected value in the directive.

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.

@github-actions github-actions bot added the 📦 🤖 gnovm Issues or PRs gnovm related label May 27, 2024
Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.09%. Comparing base (1a53255) to head (15b44eb).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2213   +/-   ##
=======================================
  Coverage   49.09%   49.09%           
=======================================
  Files         576      576           
  Lines       77821    77819    -2     
=======================================
+ Hits        38204    38208    +4     
+ Misses      36523    36520    -3     
+ Partials     3094     3091    -3     
Flag Coverage Δ
gnovm 42.23% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@thehowl thehowl merged commit 62b6efa into master May 27, 2024
47 checks passed
@thehowl thehowl deleted the dev/morgan/filetests-print-error branch May 27, 2024 13:15
omarsy pushed a commit to TERITORI/gno that referenced this pull request Jun 3, 2024
If an error occurred in a filetest, this was not printed unless a
specific `// Error:` directive was added. This adds printing for errors
anytime that it doesn't match the expected value in the directive.

<details><summary>Contributors' checklist...</summary>

- [ ] 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](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 🤖 gnovm Issues or PRs gnovm related
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants