Guard more bulk-updates behind lock (#13)

This commit is contained in:
Patrick Stevens
2025-06-22 23:27:11 +01:00
committed by GitHub
parent 0b64d3dd34
commit 34a2b460b9
3 changed files with 40 additions and 21 deletions

View File

@@ -17,7 +17,7 @@ An [expect-testing](https://blog.janestreet.com/the-joy-of-expect-tests/) librar
The basic mechanism works.
Snapshot updating is vibe-coded with Opus 4 and is purely text-based; I didn't want to use the F# compiler services because that's a pretty heavyweight dependency which should be confined to a separate test runner entity.
It's not very well tested, and I expect it to be kind of brittle.
It's fairly well tested, but you will certainly be able to find ways to break it; try not to be too fancy with your syntax around the `snapshot` statement.
# How to use