Replace all go version attributes.

This commit is contained in:
Nick Palmer
2015-01-13 19:24:08 -08:00
parent fc2896020a
commit 2110a4a63b
2 changed files with 3 additions and 3 deletions

View File

@ -297,7 +297,7 @@ func loadTestReport(name string) (string, error) {
}
// replace value="1.0" With actual version
report := strings.Replace(string(contents), `value="1.0"`, fmt.Sprintf(`value="%s"`, runtime.Version()), 1)
report := strings.Replace(string(contents), `value="1.0"`, fmt.Sprintf(`value="%s"`, runtime.Version()), -1)
return report, nil
}