@@ -11,35 +11,28 @@ private function _testEquals($expected, $headers) {
1111
1212 public function testExample () {
1313 $ this ->_testEquals (array (
14- 'rels ' => array (
15- 'd ' => array ('http://example.org/query?a=b,c ' ),
16- 'e ' => array ('http://example.org/query?a=b,c ' ),
17- 'f ' => array ('http://example.org/ ' ),
18- )
14+ 'd ' => array ('http://example.org/query?a=b,c ' ),
15+ 'e ' => array ('http://example.org/query?a=b,c ' ),
16+ 'f ' => array ('http://example.org/ ' ),
1917 ), "Link: <http://example.org/query?a=b,c>; rel= \"d e \", <http://example.org/>; rel=f " );
2018 }
2119
2220 public function testMultipleAttributes () {
2321 $ this ->_testEquals (array (
24- 'rels ' => array (
25- 'foo ' => array ('http://example.org/ ' ),
26- )
22+ 'foo ' => array ('http://example.org/ ' ),
2723 ), "Link: <http://example.org/>; rel= \"foo \"; title= \"Example \"" );
2824 }
2925
3026 public function testLinkNoRelValue () {
3127 $ this ->_testEquals (array (
32- 'rels ' => array (
33- )
3428 ), "Link: <http://example.org/>; title= \"Example \"" );
3529 }
3630
3731 public function testAaronParecki () {
3832 $ this ->_testEquals (array (
39- 'rels ' => array (
40- 'http://webmention.org/ ' => array ('http://aaronparecki.com/webmention.php ' ),
41- 'indieauth ' => array ('https://indieauth.com ' ),
42- )
33+ 'http://webmention.org/ ' => array ('http://aaronparecki.com/webmention.php ' ),
34+ 'indieauth ' => array ('https://indieauth.com ' ),
35+ 'pingback ' => array ('http://pingback.me/webmention?forward=http%3A%2F%2Faaronparecki.com%2Fwebmention.php ' )
4336 ), "HTTP/1.1 200 OK
4437Server: nginx/1.0.14
4538Date: Sat, 26 Oct 2013 01:40:11 GMT
@@ -52,9 +45,7 @@ public function testAaronParecki() {
5245
5346 public function testBarryFrost () {
5447 $ this ->_testEquals (array (
55- 'rels ' => array (
56- 'webmention ' => array ('http://barryfrost.com/webmention ' ),
57- )
48+ 'webmention ' => array ('http://barryfrost.com/webmention ' ),
5849 ), "HTTP/1.1 200 OK
5950Cache-Control: max-age=0, private, must-revalidate
6051Content-length: 19600
0 commit comments