mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Add CoordinateEditHelper Unit Tests (#4796)
This commit is contained in:
parent
ebcbc6add3
commit
90b8d8c62e
2 changed files with 188 additions and 11 deletions
|
|
@ -142,17 +142,7 @@ public class CoordinateEditHelper {
|
|||
|
||||
return wikiText + editedLocation;
|
||||
}
|
||||
if (!wikiText.contains("filedesc") && !wikiText.contains("Location")) {
|
||||
|
||||
return "== {{int:filedesc}} ==" + editedLocation + wikiText;
|
||||
|
||||
}
|
||||
if (!wikiText.contains("filedesc") && wikiText.contains("Location")) {
|
||||
|
||||
return "== {{int:filedesc}} ==" + editedLocation + wikiText;
|
||||
|
||||
}
|
||||
return null;
|
||||
return "== {{int:filedesc}} ==" + editedLocation + wikiText;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue