Skip to content

Commit bc7529d

Browse files
committed
fix formatting
1 parent e5b9656 commit bc7529d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ As a result, our snapshot file returns "bar" instead of "foo".
161161
```
162162

163163
### File snapshots
164+
164165
The `MatchesSnapshots` trait offers two ways to assert that a file is identical to the snapshot that was made the first time the test was run:
165166

166167
The `assertMatchesFileHashSnapshot($filePath)` assertion asserts that the hash of the file passed into the function and the hash saved in the snapshot match. This assertion is fast and uses very little disk space. The downside of this assertion is that there is no easy way to see how the two files differ if the test fails.

src/Filesystem.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ public function has(string $filename): bool
3030
/**
3131
* Get all file names in this directory that have the same name
3232
* as $fileName, but have a different file extension.
33+
*
3334
* @param string $fileName
35+
*
3436
* @return array
3537
*/
3638
public function getNamesWithDifferentExtension(string $fileName)

0 commit comments

Comments
 (0)