mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-05 02:22:55 +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 control = new FileReader(new File(sTestOrigDir, path));
|
||||||
Reader test = new FileReader(new File(sTestNewDir, path));
|
Reader test = new FileReader(new File(sTestNewDir, path));
|
||||||
|
|
||||||
XMLUnit.setIgnoreWhitespace(true);
|
|
||||||
|
|
||||||
if (qualifier == null) {
|
if (qualifier == null) {
|
||||||
|
XMLUnit.setIgnoreWhitespace(true);
|
||||||
assertXMLEqual(control, test);
|
assertXMLEqual(control, test);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user