@@ -9,7 +9,7 @@ private function _testEquals($expected, $headers) {
99 $ this ->assertEquals ($ expected , $ result );
1010 }
1111
12- public function testInvalidStartDate () {
12+ public function testExample () {
1313 $ this ->_testEquals (array (
1414 'rels ' => array (
1515 'd ' => array ('http://example.org/query?a=b,c ' ),
@@ -19,6 +19,21 @@ public function testInvalidStartDate() {
1919 ), "Link: <http://example.org/query?a=b,c>; rel= \"d e \", <http://example.org/>; rel=f " );
2020 }
2121
22+ public function testMultipleAttributes () {
23+ $ this ->_testEquals (array (
24+ 'rels ' => array (
25+ 'foo ' => array ('http://example.org/ ' ),
26+ )
27+ ), "Link: <http://example.org/>; rel= \"foo \"; title= \"Example \"" );
28+ }
29+
30+ public function testLinkNoRelValue () {
31+ $ this ->_testEquals (array (
32+ 'rels ' => array (
33+ )
34+ ), "Link: <http://example.org/>; title= \"Example \"" );
35+ }
36+
2237 public function testAaronParecki () {
2338 $ this ->_testEquals (array (
2439 'rels ' => array (
@@ -38,7 +53,7 @@ public function testAaronParecki() {
3853 public function testBarryFrost () {
3954 $ this ->_testEquals (array (
4055 'rels ' => array (
41- 'webmention ' => array ('http://aaronparecki .com/webmention.php ' ),
56+ 'webmention ' => array ('http://barryfrost .com/webmention ' ),
4257 )
4358 ), "HTTP/1.1 200 OK
4459Cache-Control: max-age=0, private, must-revalidate
0 commit comments