mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-03 07:12:27 +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…
Reference in New Issue
Block a user