forked from MapComplete/MapComplete
Add small test
This commit is contained in:
parent
daa23fad95
commit
52a440dd18
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ export class ChangesetHandler {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new list which contains every key at most once
|
* Creates a new list which contains every key at most once
|
||||||
|
*
|
||||||
|
* ChangesetHandler.removeDuplicateMetaTags([{key: "k", value: "v"}, {key: "k0", value: "v0"}, {key: "k", value:"v"}] // => [{key: "k", value: "v"}, {key: "k0", value: "v0"}]
|
||||||
*/
|
*/
|
||||||
public static removeDuplicateMetaTags(extraMetaTags: ChangesetTag[]): ChangesetTag[]{
|
public static removeDuplicateMetaTags(extraMetaTags: ChangesetTag[]): ChangesetTag[]{
|
||||||
const r : ChangesetTag[] = []
|
const r : ChangesetTag[] = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue