mirror of
https://github.com/bspeice/kaitai_rust
synced 2024-12-04 03:38:11 -05:00
Actually validate the test
This commit is contained in:
parent
37ea0f5cc1
commit
c108db095d
@ -76,4 +76,6 @@ fn basic_parse() {
|
|||||||
|
|
||||||
let mut gp = Grandparent::default();
|
let mut gp = Grandparent::default();
|
||||||
gp.read(&r, None, KStructUnit::parent_stack());
|
gp.read(&r, None, KStructUnit::parent_stack());
|
||||||
|
|
||||||
|
assert_eq!(gp.value[0], gp.parent.unwrap().child.unwrap().gp_value);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user