powered by nequal
Home » HatenaSyntax » Timeline » 1914

Changeset 1914 -- 2010-06-16 09:04:20

Author
anatoo
Comment
Fixed strange assersion.

Diffs

HatenaSyntax/trunk/test/lib/HatenaSyntax/Quote.php

@@ -26,7 +26,7 @@
$result = $p->parse($c);
$t->is($result[1], array('a'));
-$t->is($result[0]->at('url'), 'http://google.com');
+$t->is($result[0]->at('href'), 'http://google.com');
$t->is($result[0]->at('title'), false);
@@ -38,7 +38,7 @@
$result = $p->parse($c);
$t->is($result[1], array('a'));
-$t->is($result[0]->at('url'), 'http://google.com');
+$t->is($result[0]->at('href'), 'http://google.com');
$t->is($result[0]->at('title'), '');
@@ -50,5 +50,5 @@
$result = $p->parse($c);
$t->is($result[1], array('a'));
-$t->is($result[0]->at('url'), 'http://google.com');
+$t->is($result[0]->at('href'), 'http://google.com');
$t->is($result[0]->at('title'), 'hoge');