String slice uniquification must return a well defined order, or tests fail

This commit is contained in:
Jakob Borg 2015-03-07 21:05:30 +01:00
parent 1d77aeb69c
commit f4f4fda520
1 changed files with 2 additions and 0 deletions

View File

@ -626,6 +626,8 @@ func uniqueStrings(ss []string) []string {
us = append(us, k)
}
sort.Strings(us)
return us
}