jj/lib/tests
Evan Mesterhazy e1fd402d39 Fix the ContentHash implementations for std::Option, MergedTreeId, and RemoteRefState
The `ContentHash` documentation specifies that implementations for enums should
hash the ordinal number of the variant contained in the enum as a 32-bit
little-endian number and then hash the contents of the variant, if any.

The current implementations for `std::Option`, `MergedTreeId`, and
`RemoteRefState` are non-conformant since they hash the ordinal number as a u8
with platform specific endianness.


Fixes #3051
2024-02-16 09:27:32 -05:00
..
runner.rs compile integration tests as a single binary 2024-02-06 18:19:41 -08:00
test_bad_locking.rs
test_commit_builder.rs
test_commit_concurrent.rs
test_conflicts.rs conflicts: test materialization with with negative snapshots 2024-01-23 07:18:54 -08:00
test_default_revset_graph_iterator.rs
test_diff_summary.rs
test_git.rs git: extract Git HEAD handling bits from import_some_refs() 2024-01-27 00:01:59 +09:00
test_git_backend.rs git_backend: on gc(), remove unreachable no-gc refs and compact them 2024-01-27 10:18:11 +09:00
test_id_prefix.rs
test_index.rs index: fix change id resolution test to not depend on deterministic order 2024-02-14 23:22:23 +09:00
test_init.rs
test_load_repo.rs
test_local_working_copy.rs test_local_working_copy: use std::fs:write instead of OpenOptions 2024-02-10 16:06:28 -08:00
test_local_working_copy_concurrent.rs
test_local_working_copy_sparse.rs
test_merge_trees.rs
test_merged_tree.rs clippy: new nightly fixes 2024-02-10 16:06:28 -08:00
test_mut_repo.rs
test_operations.rs Fix the ContentHash implementations for std::Option, MergedTreeId, and RemoteRefState 2024-02-16 09:27:32 -05:00
test_refs.rs
test_revset.rs doc, tests: drop use of deprecated revset dag range operator 2024-02-14 10:04:56 +09:00
test_rewrite.rs clippy: new nightly fixes 2024-02-10 16:06:28 -08:00
test_signing.rs
test_view.rs
test_workspace.rs workspace: combine working copy functions into a trait 2024-01-25 11:46:07 -08:00