forked from MapComplete/MapComplete
Fix tests
This commit is contained in:
parent
34b29d631c
commit
6c6c977dca
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ function transformTranslation(
|
|||
*
|
||||
* // Should sort like weblate does
|
||||
* const result = stringifySorted({"1": "abc", "2": "def", "9": "ghi", "10": "xyz", "11": "uvw"})
|
||||
* result // => '{"1": "abc","10": "xyz","11": "uvw","2": "def","9", "ghi"}'
|
||||
* result // => '{"1": "abc","10": "xyz","11": "uvw","2": "def","9": "ghi"}'
|
||||
*/
|
||||
function stringifySorted(o: object, space: string = undefined, depth = 0): string {
|
||||
const keys = Object.keys(o)
|
||||
|
|
Loading…
Reference in a new issue