From ec3468a275314f16769439736b7514b40e3b49c0 Mon Sep 17 00:00:00 2001 From: seancarroll Date: Sun, 17 Jan 2021 22:38:30 -0600 Subject: flushing out more complex example for docs --- tests/dot.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/dot.rs') diff --git a/tests/dot.rs b/tests/dot.rs index c4d31ba..8244a52 100644 --- a/tests/dot.rs +++ b/tests/dot.rs @@ -3,10 +3,9 @@ use dotavious::attributes::{ GraphAttributeStatementBuilder, GraphAttributes, GraphStyle, NodeAttributes, NodeStyle, PortPosition, RankDir, Shape, }; -use dotavious::dot::SubGraphBuilder; use dotavious::{ Dot, Edge, EdgeAttributeStatementBuilder, EdgeBuilder, Graph, GraphBuilder, Node, - NodeAttributeStatementBuilder, NodeBuilder, + NodeAttributeStatementBuilder, NodeBuilder, SubGraphBuilder, }; use std::io; use std::io::Read; @@ -35,7 +34,7 @@ fn empty_digraph_without_id() { } #[test] -fn display() { +fn support_display() { let g = GraphBuilder::new_directed(None).build(); let dot = Dot { graph: g }; -- cgit v1.2.3