-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Commit c9b4dca
cmd/compile: fix TestFormats by using valid formats
CL 142517 has used some formats incorrectly. This change fixes it
by using %v for errors and invoking Block.Kind.String().
Format map stays intact.
Updates #28177
Change-Id: If53b6cc54ba3c1ffc17b005225787e3b546de404
Reviewed-on: https://go-review.googlesource.com/c/150798
Run-TryBot: Yury Smolsky <yury@smolsky.by>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>1 parent 2a7f904 commit c9b4dca
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
893 | 893 |
| |
894 | 894 |
| |
895 | 895 |
| |
896 | - | ||
896 | + | ||
897 | 897 |
| |
898 | 898 |
| |
899 | 899 |
| |
| |||
942 | 942 |
| |
943 | 943 |
| |
944 | 944 |
| |
945 | - | ||
945 | + | ||
946 | 946 |
| |
947 | 947 |
| |
948 | 948 |
| |
| |||
952 | 952 |
| |
953 | 953 |
| |
954 | 954 |
| |
955 | - | ||
955 | + | ||
956 | 956 |
| |
957 | 957 |
| |
958 | 958 |
| |
|
0 commit comments