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

fix: make sure the field and matching pattern are ordered correctly #315

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

aristosvo
Copy link
Contributor

@aristosvo aristosvo commented Nov 11, 2024

FieldName and FieldPattern were ordered wrong, confusing the users with a weird pattern error

@omissis
Copy link
Owner

omissis commented Nov 16, 2024

hey @aristosvo thank you for the PR!
Can you please make sure all the tests pass please?

@omissis omissis self-requested a review November 16, 2024 10:30
@aristosvo aristosvo force-pushed the fix/regex-pattern-match-error-msg branch from 7d238cf to d0d44a1 Compare November 16, 2024 20:09
Copy link

codecov bot commented Nov 16, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 73.17%. Comparing base (d963216) to head (0e682c1).
Report is 113 commits behind head on main.

Files with missing lines Patch % Lines
tests/data/validation/pattern/pattern.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #315      +/-   ##
==========================================
- Coverage   76.58%   73.17%   -3.41%     
==========================================
  Files          24       43      +19     
  Lines        1892     2837     +945     
==========================================
+ Hits         1449     2076     +627     
- Misses        354      588     +234     
- Partials       89      173      +84     

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

@aristosvo
Copy link
Contributor Author

Tests are passing!

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.

2 participants