mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-04 18:12:54 +01:00
aapt2: don't init XMLUnit if not using the full xml diff
This commit is contained in:
parent
8ae5d529cb
commit
722870e6b9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user