Adding more tests

This commit is contained in:
Adrien Loison committed 2015-07-26 23:53:49 -07:00
1 parent 2345a80784
commit 86a4c3790a
8 files changed
+140 -6

No files matched your search

@@ -154,7 +154,8 @@ class SharedStringsHelper
$readError = libxml_get_last_error();
if ($readError !== false) {
throw new IOException("The sharedStrings.xml file is invalid and cannot be read. [{$readError->message}]");
$readErrorMessage = trim($readError->message);
throw new IOException("The sharedStrings.xml file is invalid and cannot be read. [{$readErrorMessage}]");
}
// reset the setting to display XML warnings/errors