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
58
59
---
source: tests/test.rs
assertion_line: 13
expression: "format!(\"{:#?}\", parse(& source).unwrap())"
input_file: tests/ok/nested.hrx
---
Archive {
start: 0,
end: 363,
entries: [
Entry {
start: 0,
end: 193,
comment: None,
body: File(
File {
start: 0,
end: 193,
body: Some(
Body {
start: 16,
end: 193,
source: "<=====> nested-file1.hrx\nThis is a HRX file nested within a HRX file.\n\n<=====> nested-file2.hrx\nYou can tell it's not part of the outer file because the boundaries are longer.\n\n",
},
),
path: Path {
start: 6,
end: 15,
source: "file1.hrx",
},
},
),
},
Entry {
start: 193,
end: 363,
comment: None,
body: File(
File {
start: 193,
end: 363,
body: Some(
Body {
start: 209,
end: 363,
source: "<=> nested-file1.hrx\nInner files can also contain shorter boundaries...\n\n<=> nested-file2.hrx\n...as long as they don't contain the outer file's boundary.\n",
},
),
path: Path {
start: 199,
end: 208,
source: "file2.hrx",
},
},
),
},
],
comment: None,
}