ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Martin von Zweigbergk 3ef552c4c1 tests: add TestWorkspace::snapshot() to simplify snapshotting
It's currently a bit complicated to snapshot the working copy and
there's a lot of duplication in tests. This commit introduces a
function to simplify it. I made the function snapshot the working copy
and save the updated state. Some of the tests I changed previously
discarded the changes instead of saving them, but I think they all did
so because it was simpler. I left a few call sites unchanged because
they make concurrent changes.
2023-07-28 09:32:18 -07:00
..
benches cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
gen-protos gen-protos: make old protoc accept optional fields 2023-07-27 15:32:48 +09:00
src perf: instrument some steps in snapshot 2023-07-28 09:28:01 -07:00
tests tests: add TestWorkspace::snapshot() to simplify snapshotting 2023-07-28 09:32:18 -07:00
testutils tests: add TestWorkspace::snapshot() to simplify snapshotting 2023-07-28 09:32:18 -07:00
Cargo.toml cargo: bump the cargo-dependencies group with 2 updates 2023-07-27 15:57:54 +00:00