*/
class StringsTest extends TestCase
{
- /**
+ /**
* randomnames should be random, even length
*/
public function testRandomEven()
$randomname2 = Strings::getRandomName(1);
$this->assertEquals(1, strlen($randomname2));
- }
-
- /**
+ }
+
+ /**
* test, that tags are escaped
*/
public function testEscapeHtml()
$this->assertEquals('[submit type="button" onclick="alert(\'failed!\');" /]', $validstring);
$this->assertEquals(
- "<submit type="button" onclick="alert('failed!');" />",
+ '<submit type="button" onclick="alert('failed!');" />',
$escapedString
);
}