aboutsummaryrefslogtreecommitdiff
path: root/src/fmt
diff options
context:
space:
mode:
authorKeith Randall <khr@google.com>2019-03-18 13:17:35 -0700
committerKeith Randall <khr@golang.org>2019-03-18 20:41:12 +0000
commit7b916243d98e36a385da4086fd9dd57004f6e4ca (patch)
tree1b9d32ced3648f68d9bfffd2d1e99865b65c725b /src/fmt
parent27e444d5e6cce9f3f4c132ad964627bdb31a3651 (diff)
downloadgo-7b916243d98e36a385da4086fd9dd57004f6e4ca.tar.gz
go-7b916243d98e36a385da4086fd9dd57004f6e4ca.zip
cmd/compile: rename init function from init.ializers back to init
The name change init -> init.ializers was initially required for initialization code. With CL 161337 there's no wrapper code any more, there's a data structure instead (named .inittask). So we can go back to just plain init appearing in tracebacks. RELNOTE=yes Update #29919. Followon to CL 161337. Change-Id: I5a4a49d286df24b53b2baa193dfda482f3ea82a5 Reviewed-on: https://go-review.googlesource.com/c/go/+/167780 Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/fmt')
-rw-r--r--src/fmt/errors_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt/errors_test.go b/src/fmt/errors_test.go
index ed77709ea0..0183ba77e5 100644
--- a/src/fmt/errors_test.go
+++ b/src/fmt/errors_test.go
@@ -157,7 +157,7 @@ func TestErrorFormatter(t *testing.T) {
want: "fallback:" +
"\n somefile.go:123" +
"\n - file does not exist:" +
- "\n os.init.ializers" +
+ "\n os.init" +
"\n .+/os/error.go:\\d\\d",
regexp: true,
}, {