Skip to content

Commit

Permalink
fix test so that it SHOULD work, still fails (damn you, PHP unicode f…
Browse files Browse the repository at this point in the history
…ail!)
  • Loading branch information
Greg Beaver authored and Greg Beaver committed Jul 30, 2011
1 parent 1e12ee3 commit b7843a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Pyrus/JsonSchema/URI/uri_escapecomponent.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for ($d = 32; $d < 128; ++$d) {
$output .= "%" . strtoupper(dechex($d));
}
}
$input .= urldecode("%C3%80%E3%82%A2");
$input .= "\xc0\000\xa2\x30";
$output .= "%C3%80%E3%82%A2";

$test->assertEquals($output, $uri->escapeComponent($input), 'test');
Expand Down

0 comments on commit b7843a9

Please sign in to comment.