mirror of
https://github.com/QuinnPainter/sandstone.git
synced 2025-06-18 19:15:39 -04:00
cleanup test
This commit is contained in:
parent
2e3cd0c326
commit
ce20c357e1
@ -390,7 +390,7 @@ mod tests {
|
||||
let mut h = Hierarchy::new();
|
||||
let mut project_data = ProjectData::new();
|
||||
let mut selected = Selected::None;
|
||||
h.new_graph_name_buffer = "TestGraph".to_string();
|
||||
h.new_graph_name_buffer = TEST_GRAPH_NAME.to_string();
|
||||
h.add_graph(&mut project_data, &mut selected);
|
||||
assert_eq!(project_data.graphs.len(), 1);
|
||||
assert_eq!(project_data.graphs[0].0[0].name, TEST_GRAPH_NAME);
|
||||
|
Loading…
Reference in New Issue
Block a user