From c108db095d80721bfcf212f5ccba45fdfa5a6ed6 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Thu, 9 May 2019 14:03:01 -0400 Subject: [PATCH] Actually validate the test --- tests/grandparent_validation.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/grandparent_validation.rs b/tests/grandparent_validation.rs index bc76e3e..194c8c1 100644 --- a/tests/grandparent_validation.rs +++ b/tests/grandparent_validation.rs @@ -76,4 +76,6 @@ fn basic_parse() { let mut gp = Grandparent::default(); gp.read(&r, None, KStructUnit::parent_stack()); + + assert_eq!(gp.value[0], gp.parent.unwrap().child.unwrap().gp_value); } \ No newline at end of file