examples/dot/test_parse.rb in ruby-graphviz-0.9.14 vs examples/dot/test_parse.rb in ruby-graphviz-0.9.15

- old
+ new

@@ -4,10 +4,10 @@ require "graphviz" Dir.glob( "*.dot" ) { |f| print "#{f} : " begin - puts GraphViz.parse(f) - rescue => e + puts GraphViz.parse2(f) + rescue SyntaxError => e puts "Error #{e.message}" end }