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 example for highlight function in Readme #35

Merged
merged 1 commit into from
May 26, 2024

Conversation

davidhusz
Copy link
Contributor

@davidhusz davidhusz commented Feb 26, 2024

Thank you for creating this library, it's very useful! I noticed the Readme gives the example for the highlight function as

test(highlight('name:john'), persons[0]);

which doesn't match its signature. It should instead be

highlight(parse('name:john'), persons[0]);

@gajus gajus merged commit d70ec84 into gajus:main May 26, 2024
@gajus
Copy link
Owner

gajus commented May 26, 2024

Thank you

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