tremplin: Sort features when converting to string
Iteration order of maps is not defined in Go, so the features would be
added to the string in a random order, breaking the unit tests 50% of
the time. Change the string implementation to always return the
features in sorted order.
BUG=chromium:1113140
TEST=FEATURES=test emerge-tatl tremplin
Change-Id: I431c75c643174344bf4d733edc03daabc26429f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tremplin/+/2339846
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
1 file changed