From e4ea94fb6a749fac25e560aeb5effdf9a476e010 Mon Sep 17 00:00:00 2001 From: ltsyk Date: Thu, 30 Jul 2026 07:53:07 +0800 Subject: [PATCH] docs: fix typos in project documentation Fix documentation typos: occured->occurred (x1); Javascript->JavaScript (x1) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4cec359..9231d14 100644 --- a/README.md +++ b/README.md @@ -871,7 +871,7 @@ forgiving behavior, you can use `soft_fail()` which is collected like any other ### Snapshot Testing -Take a snapshot of a python data structure, store it on disk in JSON format, and automatically compare the latest data to the stored data on every test run. The snapshot testing features of `assertpy` are borrowed from [Jest](https://facebook.github.io/jest/), a well-known and powerful Javascript testing framework. Snapshots require Python 3. +Take a snapshot of a python data structure, store it on disk in JSON format, and automatically compare the latest data to the stored data on every test run. The snapshot testing features of `assertpy` are borrowed from [Jest](https://facebook.github.io/jest/), a well-known and powerful JavaScript testing framework. Snapshots require Python 3. For example, snapshot the following dict: @@ -906,7 +906,7 @@ assert_that(someobj).snapshot() Snapshot artifacts (typically found in the `__snapshots` folder), should be committed to source control alongside any code changes. -On the first run (when the snapshot file doesn't yet exist), the snapshot is created, stored to disk, and the test is passed. On all subsequent runs, the given data is compared to the on-disk snapshot, and the test fails if they don't match. Failure means that some change occured, so either a bug or a known implementation changed. +On the first run (when the snapshot file doesn't yet exist), the snapshot is created, stored to disk, and the test is passed. On all subsequent runs, the given data is compared to the on-disk snapshot, and the test fails if they don't match. Failure means that some change occurred, so either a bug or a known implementation changed. #### Updating Snapshots