Skip to content

Commit b8752fb

Browse files
Łukasz MazurekKent C. Dodds
Łukasz Mazurek
authored and
Kent C. Dodds
committed
docs: fixes small typo in README.md (testing-library#152)
Hey, this fixes small typo in `README.md` in function parameters example for `getText`. <!-- Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated! Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file). Also, please make sure you're familiar with and follow the instructions in the contributing guidelines (found in the CONTRIBUTING.md file). If you're new to contributing to open source projects, you might find this free video course helpful: http://kcd.im/pull-request Please fill out the information below to expedite the review and (hopefully) merge of your pull request! --> <!-- What changes are being made? (What feature/bug is being fixed here?) --> **What**: Documentation typo. <!-- Why are these changes necessary? --> **Why**: So documentation is more precise :) <!-- How were these changes implemented? --> **How**: <!-- Have you done all of these things? --> **Checklist**: <!-- add "N/A" to the end of each line that's irrelevant to your changes --> <!-- to check an item, place an "x" in the box like so: "- [x] Documentation" --> - [x] Documentation - [ ] Tests N/A - [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? --> - [ ] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions --> <!-- feel free to add additional comments -->
1 parent eb48038 commit b8752fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ affect the precision of string matching:
794794
795795
// Matching a string:
796796
getByText(container, 'Hello World') // full string match
797-
getByText(container, 'llo Worl'), {exact: false} // substring match
797+
getByText(container, 'llo Worl', {exact: false}) // substring match
798798
getByText(container, 'hello world', {exact: false}) // ignore case
799799
800800
// Matching a regex:

0 commit comments

Comments
 (0)