Skip to content

Commit 7bd9ad4

Browse files
Update readme
1 parent 08a9953 commit 7bd9ad4

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,17 @@ By using the `--without-creating-snapshots` parameter, PHPUnit will fail if the
284284
> ./vendor/bin/phpunit -d --without-creating-snapshots
285285

286286
1) ExampleTest::test_it_matches_a_string
287-
Snapshot "ExampleTest__test_it_matches_a_string__1.txt" does not exist.
288-
You can automatically create it by removing `-d --without-creating-snapshots` of PHPUnit's CLI arguments.
289-
287+
Snapshot "ExampleTest__test_it_matches_a_string__1.txt" does not exist.
288+
You can automatically create it by removing `-d --no-create-snapshots` of PHPUnit's CLI arguments.
290289
```
291290
291+
### A note for Windows users
292+
293+
Windows users should configure their line endings in `.gitattributes`.
294+
295+
```txt
296+
tests/**/__snapshots__/** text eol=lf
297+
```
292298
293299
## Changelog
294300

0 commit comments

Comments
 (0)