summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-11-05 11:13:25 +0100
committerfranck cuny <franck@lumberjaph.net>2010-11-05 11:13:25 +0100
commit6b25cd79ccd0387814e4dc23cf06ff76a2ba13ea (patch)
tree51143ede090ca4975c8cb859e17a431da3f83d98
parenttidy + load position (diff)
downloadgraph-gexf-6b25cd79ccd0387814e4dc23cf06ff76a2ba13ea.tar.gz
tidy
-rw-r--r--t/06-data.t6
-rw-r--r--t/07-attributes.t2
2 files changed, 4 insertions, 4 deletions
diff --git a/t/06-data.t b/t/06-data.t
index 5df0bb9..91532f9 100644
--- a/t/06-data.t
+++ b/t/06-data.t
@@ -5,9 +5,9 @@ use Test::More;
 use Graph::GEXF;
 
 my $graph = Graph::GEXF->new();
-$graph->add_node_attribute('url', 'string', 'http://');
-$graph->add_node_attribute('indegree', 'float');
-$graph->add_node_attribute('frog', 'boolean');
+$graph->add_node_attribute('url', 'string',);
+$graph->add_node_attribute('indegree', 'float', '0.0');
+$graph->add_node_attribute('frog', 'boolean', 1);
 
 my $n1 = $graph->add_node(0);
 $n1->label('Gephi');
diff --git a/t/07-attributes.t b/t/07-attributes.t
index c4d13dd..effb6da 100644
--- a/t/07-attributes.t
+++ b/t/07-attributes.t
@@ -5,7 +5,7 @@ use Test::More;
 use Graph::GEXF;
 
 my $graph = Graph::GEXF->new();
-ok $graph->add_node_attribute('foo','bar','baz');
+ok $graph->add_node_attribute('foo', 'bar', 'baz');
 ok $graph->add_edge_attribute('baz', 'bar', 'foo');
 
 print $graph->to_xml;