MDL-31100 unit tests: don't mangle UTF-8 in failure messages.

This commit is contained in:
Tim Hunt
2012-01-12 12:10:33 +00:00
parent 60e99097e4
commit aad1b6ee64
+5
View File
@@ -289,4 +289,9 @@ class ExHtmlReporter extends HtmlReporter {
function get_string($identifier, $a = NULL) {
return get_string($identifier, 'tool_unittest', $a);
}
function _htmlEntities($message) {
// Override subclass message that breaks UTF8.
return s($message);
}
}