You are here

public function FunctionsTest::testParsesArrayHeaders in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/psr7/tests/FunctionsTest.php \GuzzleHttp\Tests\Psr7\FunctionsTest::testParsesArrayHeaders()

File

vendor/guzzlehttp/psr7/tests/FunctionsTest.php, line 508

Class

FunctionsTest

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testParsesArrayHeaders() {
  $header = [
    'a, b',
    'c',
    'd, e',
  ];
  $this
    ->assertEquals([
    'a',
    'b',
    'c',
    'd',
    'e',
  ], Psr7\normalize_header($header));
}