Skip to content

Commit

Permalink
making this uglier becuase the pretty way offends our linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Hogan Bobertz committed Apr 25, 2023
1 parent 04902bf commit 405b942
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,14 @@ fn assert_template_equal(val: Value, cfn_tree: CloudformationParseTree) {
let cfn_template = CloudformationParseTree::build(&val).unwrap();
assert_eq!(cfn_template.parameters.params, cfn_tree.parameters.params);
assert_eq!(cfn_template.mappings.mappings, cfn_tree.mappings.mappings);
assert_eq!(cfn_template.conditions.conditions, cfn_tree.conditions.conditions);
assert_eq!(cfn_template.outputs.outputs, cfn_tree.outputs.outputs);
assert_eq!(cfn_template.logical_lookup, cfn_tree.logical_lookup);
assert_eq!(cfn_template.resources.resources,cfn_tree.resources.resources)
assert_eq!(
cfn_template.conditions.conditions,
cfn_tree.conditions.conditions
);
assert_eq!(
cfn_template.resources.resources,
cfn_tree.resources.resources
)
}

0 comments on commit 405b942

Please sign in to comment.