Skip to content

Commit 8d2fb99

Browse files
authored
Merge pull request #5 from go-tstr/heppu-patch-1
Update README.md
2 parents c3241de + 49d1258 commit 8d2fb99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Golden file testing is a technique where the expected output of a test is
66

77
- generated automatically from test
8-
- stored in a separate file (the "golden file")
9-
- verified to never change unless explicitly regerated
8+
- stored in a separate file
9+
- verified to never change unless explicitly re-created
1010

1111
During testing, the actual output is compared against the contents of the golden file. If the outputs match, the test passes; if not, the test fails. This approach is especially useful for testing complex outputs such as JSON, HTML, or other structured data, as it makes it easy to review and update expected outputs.

0 commit comments

Comments
 (0)