Skip to content

Commit 73e04d7

Browse files
committed
adds test case for LinK header
1 parent 1558cf1 commit 73e04d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/BasicTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ public function testMultipleAttributes() {
2323
), "Link: <http://example.org/>; rel=\"foo\"; title=\"Example\"");
2424
}
2525

26+
public function testUnusualCaseLinkHeader() {
27+
$this->_testEquals(array(
28+
'foo' => array('http://example.org/')
29+
), "LinK: <http://example.org/>; rel=\"foo\"; title=\"Example\"");
30+
}
31+
2632
public function testLinkNoRelValue() {
2733
$this->_testEquals(array(
2834
), "Link: <http://example.org/>; title=\"Example\"");

0 commit comments

Comments
 (0)