mirror of
https://github.com/bspeice/kaitai_rust
synced 2025-08-02 05:25:12 -04:00
Actually validate the test
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
Reference in New Issue
Block a user