summaryrefslogtreecommitdiff
path: root/tests/dot.rs
diff options
context:
space:
mode:
authorseancarroll <seanc28@gmail.com>2021-01-17 22:38:30 -0600
committerseancarroll <seanc28@gmail.com>2021-01-17 22:38:30 -0600
commitec3468a275314f16769439736b7514b40e3b49c0 (patch)
tree66b85e0df5ae086d301aab8ef53d6871a37eea33 /tests/dot.rs
parent956860b32114a0ca6d8d9af15175514f6a94e34a (diff)
downloaddotavious-ec3468a275314f16769439736b7514b40e3b49c0.zip
flushing out more complex example for docs
Diffstat (limited to 'tests/dot.rs')
-rw-r--r--tests/dot.rs5
1 files changed, 2 insertions, 3 deletions
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 };