Skip to content

Commit fa7da46

Browse files
committed
Doh! Short array syntax gets me every time.
1 parent 91d153f commit fa7da46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/HttpBuildUrlTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public function testTrailingSlash()
3030
{
3131
$expected = 'http://example.com/';
3232
$actual = http_build_url(
33-
[
33+
array(
3434
'scheme' => 'http',
3535
'host' => 'example.com',
3636
'path' => ''
37-
]
37+
)
3838
);
3939

4040
$this->assertSame($expected, $actual);

0 commit comments

Comments
 (0)