aapt2: don't init XMLUnit if not using the full xml diff
@@ -115,9 +115,8 @@ public class BaseTest {
Reader control = new FileReader(new File(sTestOrigDir, path));
Reader test = new FileReader(new File(sTestNewDir, path));
- XMLUnit.setIgnoreWhitespace(true);
-
if (qualifier == null) {
+ XMLUnit.setIgnoreWhitespace(true);
assertXMLEqual(control, test);
return;
}
