mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-18 20:59:48 -04:00
clean up whitespace in repo descriptions
This cleans up the whitespace in the description item, since the XML parsing will include the linefeeds and indenting in the description.
This commit is contained in:
@@ -166,7 +166,7 @@ public class RepoProviderTest extends FDroidProviderTest {
|
||||
assertRepo(
|
||||
defaultRepos.get(i),
|
||||
reposFromXml[offset + 1], // address
|
||||
reposFromXml[offset + 2], // description
|
||||
reposFromXml[offset + 2].replaceAll("\\s+", " "), // description
|
||||
Utils.calcFingerprint(reposFromXml[offset + 7]), // pubkey
|
||||
reposFromXml[offset] // name
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user