test/test_graph.rb in graph-2.7.1 vs test/test_graph.rb in graph-2.8.0
- old
+ new
@@ -441,9 +441,15 @@
e.label "blah\nblah"
assert_equal ["label = \"blah\\nblah\""], e.attributes
end
+ def test_decorate
+ e.decorate "true"
+
+ assert_equal ["decorate = true"], e.attributes
+ end
+
def test_to_s
assert_equal '"a" -> "b"', e.to_s
end
def test_to_s_attribs