mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-01 03:18:30 +00:00
String slice uniquification must return a well defined order, or tests fail
This commit is contained in:
parent
1d77aeb69c
commit
f4f4fda520
@ -626,6 +626,8 @@ func uniqueStrings(ss []string) []string {
|
||||
us = append(us, k)
|
||||
}
|
||||
|
||||
sort.Strings(us)
|
||||
|
||||
return us
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user