This commit is contained in:
Lukas Reschke 2014-05-31 21:11:29 +02:00
parent 360a79b8f4
commit 603b6c13b4
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ describe('Core base tests', function() {
it('Returns a sanitized string if a string containing HTML is given', function() {
expect(escapeHTML('There needs to be a <script>alert(\"Unit\" + \'test\')</script> for it!')).toEqual('There needs to be a &lt;script&gt;alert(&quot;Unit&quot; + &#039;test&#039;)&lt;/script&gt; for it!');
});
it('Returns the string without modification if no potential dangerous character is passed.', function() {
it('Returns the string without modification if no potentially dangerous character is passed.', function() {
expect(escapeHTML('This is a good string without HTML.')).toEqual('This is a good string without HTML.');
});
});