Merge pull request #140 from danw/sort_tests
Sort testcases to make build (more) reproducible
This commit is contained in:
commit
2eeb7ee14b
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ import (
|
|||
"go/token"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"sort"
|
||||
"strings"
|
||||
"text/template"
|
||||
)
|
||||
|
@ -51,6 +52,7 @@ func findTests(srcs []string) (tests []string) {
|
|||
tests = append(tests, obj.Name)
|
||||
}
|
||||
}
|
||||
sort.Strings(tests)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue