Permalink
Browse files
adds test case for `LinK` header
- Loading branch information...
Showing
with
6 additions
and
0 deletions.
-
+6
−0
tests/BasicTest.php
|
|
@@ -23,6 +23,12 @@ public function testMultipleAttributes() { |
|
|
), "Link: <http://example.org/>; rel=\"foo\"; title=\"Example\"");
|
|
|
}
|
|
|
|
|
|
+ public function testUnusualCaseLinkHeader() {
|
|
|
+ $this->_testEquals(array(
|
|
|
+ 'foo' => array('http://example.org/')
|
|
|
+ ), "LinK: <http://example.org/>; rel=\"foo\"; title=\"Example\"");
|
|
|
+ }
|
|
|
+
|
|
|
public function testLinkNoRelValue() {
|
|
|
$this->_testEquals(array(
|
|
|
), "Link: <http://example.org/>; title=\"Example\"");
|
|
|
|
0 comments on commit
73e04d7