Archived
String slice uniquification must return a well defined order, or tests fail
This commit is contained in:
1 parent
1d77aeb69c
commit
f4f4fda520
1 file changed
+2
@@ -626,6 +626,8 @@ func uniqueStrings(ss []string) []string {
|
|||||||
us = append(us, k)
|
us = append(us, k)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sort.Strings(us)
|
||||||
|
|
||||||
return us
|
return us
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user