Skip to content

Commit 60a04c1

Browse files
committed
Fixes for another review round
1 parent f7c9dc5 commit 60a04c1

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

ext/uri/tests/whatwg/parsing/port_error_negative.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Test Uri\WhatWg\Url parsing - port - negative value
44
<?php
55

66
try {
7-
var_dump(new Uri\WhatWg\Url("http://example.com:-1"));
7+
new Uri\WhatWg\Url("http://example.com:-1");
88
} catch (Throwable $e) {
99
echo $e::class, ": ", $e->getMessage(), PHP_EOL;
1010
}

ext/uri/tests/whatwg/parsing/scheme_error_only1.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Test Uri\WhatWg\Url parsing - scheme - only scheme
44
<?php
55

66
try {
7-
new Uri\WhatWg\Url("http://");
7+
new Uri\WhatWg\Url("http:");
88
} catch (Throwable $e) {
99
echo $e::class, ": ", $e->getMessage(), PHP_EOL;
1010
}

ext/uri/tests/whatwg/parsing/scheme_success_empty_host.phpt renamed to ext/uri/tests/whatwg/parsing/scheme_success_without_slash.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Test Uri\WhatWg\Url parsing - scheme - empty
2+
Test Uri\WhatWg\Url parsing - scheme - without //
33
--FILE--
44
<?php
55

0 commit comments

Comments
 (0)