Skip to content

Commit

Permalink
Add test-cases for urn with prefixed or trailing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen authored Dec 6, 2024
1 parent 057a9e9 commit ba0be34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Assert/URITest.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ public static function provideURN(): array
{
return [
'urn' => [true, 'urn:x-simplesamlphp:phpunit'],
'newline_prefix' => [false, "\nurn:x-simplesamlphp:phpunit"],
'newline_suffix' => [false, "urn:x-simplesamlphp:phpunit\n"],
'url' => [false, 'https://www.simplesamlphp.org'],
'same-doc' => [false, '#_53d830ab1be17291a546c95c7f1cdf8d3d23c959e6'],
'invalid_char' => [false, 'https://a⒈com'],
Expand Down

0 comments on commit ba0be34

Please sign in to comment.