Skip to content

Conversation

beeb
Copy link
Owner

@beeb beeb commented Feb 22, 2025

This PR adds snapshot testing and allowed to uncover two bugs:

  • A logical error in function returns validation, where missing natspec didn't cause a diagnostic if the function had no a parameters but some return values
  • A parser improvement to accept an arbitrarily large number of forward slashes (>2) at the start of single-line comment

@beeb beeb changed the title test: add snapshot testing fix: natspec parser and function returns validation Feb 22, 2025
@beeb beeb merged commit f1c0d5f into main Feb 22, 2025
12 checks passed
@beeb beeb deleted the snapshot-testing branch February 22, 2025 18:12
@beeb-release-plz beeb-release-plz bot mentioned this pull request Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant