mirror of
https://github.com/revanced/smali.git
synced 2025-05-02 15:44:30 +02:00
Improve whitespace normalization in baksmali's AnalysisTest
This commit is contained in:
parent
3f4e6a388a
commit
632924c9c6
@ -106,8 +106,8 @@ public class AnalysisTest {
|
|||||||
className.substring(1, className.length() - 1));
|
className.substring(1, className.length() - 1));
|
||||||
String smaliContents = readResource(smaliPath);
|
String smaliContents = readResource(smaliPath);
|
||||||
|
|
||||||
Assert.assertEquals(TextUtils.normalizeNewlines(smaliContents),
|
Assert.assertEquals(TextUtils.normalizeWhitespace(smaliContents),
|
||||||
TextUtils.normalizeNewlines(stringWriter.toString()));
|
TextUtils.normalizeWhitespace((stringWriter.toString())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user