Skip to content

Commit

Permalink
Item13795: Fix typo in unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Mar 23, 2016
1 parent dd522e5 commit c1e39f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnitTestContrib/test/unit/Fn_SCRIPTURL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ sub test_SCRIPTURL {
$this->{test_topicObject}->expandMacros(
"%SCRIPTURLPATH{\"rest\" topic=\"Main.WebHome\" web=\"System\"}%");
$this->assert_str_equals(
"<div class='foswikiAlert'>Paramaters are not supported when generating rest or jsonrpc URLs.</div>",
"<div class='foswikiAlert'>Parameters are not supported when generating rest or jsonrpc URLs.</div>",
$result
);

$result =
$this->{test_topicObject}->expandMacros(
"%SCRIPTURLPATH{\"jsonrpc\" topic=\"Main.WebHome\" web=\"System\"}%");
$this->assert_str_equals(
"<div class='foswikiAlert'>Paramaters are not supported when generating rest or jsonrpc URLs.</div>",
"<div class='foswikiAlert'>Parameters are not supported when generating rest or jsonrpc URLs.</div>",
$result
);

Expand Down

0 comments on commit c1e39f2

Please sign in to comment.