Skip to content
Browse files

adds test case for `LinK` header

  • Loading branch information...
1 parent 1558cf1 commit 73e04d799e38998950beaa2abcd2e4b7339f3b26 @aaronpk aaronpk committed Apr 11, 2016
Showing with 6 additions and 0 deletions.
  1. +6 −0 tests/BasicTest.php
View
6 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

Please sign in to comment.
Something went wrong with that request. Please try again.