1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//! Shared text for the tests of the lock group.
//!
//! # Responsibilities
//!
//! - [`example_lock`] is the documented `agentstacks.lock` example with each hex placeholder
//! replaced by fixed lowercase hex of the right length, so one text is parsed, written back and
//! compared by several tests.
//!
//! # Non-responsibilities
//!
//! It is compiled for tests only and holds no rule.
/// A 40-character commit id.
pub const HEX40: &str = "0123456789abcdef0123456789abcdef01234567";
/// A 64-character digest.
pub const HEX64: &str = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef";
/// The documented lock, hex filled, ending with one newline.
pub