aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/codegen/strings.go2
-rw-r--r--test/fixedbugs/issue29312.go16
2 files changed, 9 insertions, 9 deletions
diff --git a/test/codegen/strings.go b/test/codegen/strings.go
index 19e1dbda51..08425a418a 100644
--- a/test/codegen/strings.go
+++ b/test/codegen/strings.go
@@ -15,7 +15,7 @@ func CountRunes(s string) int { // Issue #24923
}
func ToByteSlice() []byte { // Issue #24698
- // amd64:`LEAQ\ttype\.\[3\]uint8`
+ // amd64:`LEAQ\ttype:\[3\]uint8`
// amd64:`CALL\truntime\.newobject`
// amd64:-`.*runtime.stringtoslicebyte`
return []byte("foo")
diff --git a/test/fixedbugs/issue29312.go b/test/fixedbugs/issue29312.go
index 4293e01004..cbf79f704c 100644
--- a/test/fixedbugs/issue29312.go
+++ b/test/fixedbugs/issue29312.go
@@ -22,14 +22,14 @@
// The type names for these types are as follows. Because we truncate
// the name at depth 250, the last few names are all identical:
//
-// type.[]*"".pwn
-// type.[][]*"".pwn
+// type:[]*"".pwn
+// type:[][]*"".pwn
// ...
-// type.[][]...[][]*pwn - 249 total "[]"
-// type.[][]...[][][]*<...> - 250 total "[]"
-// type.[][]...[][][][]<...> - 251 total "[]"
-// type.[][]...[][][][]<...> - 252 total "[]" (but only 251 "[]" in the name)
-// type.[][]...[][][][]<...> - 253 total "[]" (but only 251 "[]" in the name)
+// type:[][]...[][]*pwn - 249 total "[]"
+// type:[][]...[][][]*<...> - 250 total "[]"
+// type:[][]...[][][][]<...> - 251 total "[]"
+// type:[][]...[][][][]<...> - 252 total "[]" (but only 251 "[]" in the name)
+// type:[][]...[][][][]<...> - 253 total "[]" (but only 251 "[]" in the name)
//
// Because the names of the last 3 types are all identical, the
// compiler will generate only a single runtime.slicetype data
@@ -37,7 +37,7 @@
// generates just the 251-entry one. There aren't any
// runtime.slicetypes generated for the final two types.
//
-// The compiler passes type.[]...[]<...> (251 total "[]") to
+// The compiler passes type:[]...[]<...> (251 total "[]") to
// fmt.Sprintf (instead of the correct 253 one). But the data
// structure at runtime actually has 253 nesting levels. So we end up
// calling String on something that is of type [][]*pwn instead of