]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/api: sort features
authorAnthony Martin <ality@pbrane.org>
Sun, 20 Jan 2013 06:20:46 +0000 (22:20 -0800)
committerAnthony Martin <ality@pbrane.org>
Sun, 20 Jan 2013 06:20:46 +0000 (22:20 -0800)
R=golang-dev, minux.ma, bradfitz
CC=golang-dev
https://golang.org/cl/7141062

src/cmd/api/goapi.go

index a61497c52dc6f642ddfaf2663a97f77be4294711..6d39a463f61f09476ede5afb0f8810f6a5b3f9ae 100644 (file)
@@ -181,6 +181,7 @@ func main() {
        defer bw.Flush()
 
        if *checkFile == "" {
+               sort.Strings(features)
                for _, f := range features {
                        fmt.Fprintf(bw, "%s\n", f)
                }