benchstat: fix bad merge; AddFile now AddConfig

Change-Id: Ib710cac2d82ccd37821cd78b33550368c242d266
Run-TryBot: Russ Cox <>
Run-TryBot: Ian Lance Taylor <>
Reviewed-by: Ian Lance Taylor <>
diff --git a/benchstat/data.go b/benchstat/data.go
index 7f1bf1a..756e2b0 100644
--- a/benchstat/data.go
+++ b/benchstat/data.go
@@ -138,7 +138,7 @@
 // AddFile adds the benchmark results in the formatted data
 // to the named configuration.
-func (c *Collection) AddFile(config string, data []byte) {
+func (c *Collection) AddConfig(config string, data []byte) {
 	c.Configs = append(c.Configs, config)
 	key := Key{Config: config}
 	c.addText(key, string(data))