summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug229.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug229.go')
-rw-r--r--test/fixedbugs/bug229.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug229.go b/test/fixedbugs/bug229.go
index 6c9de9ba9..a70a926da 100644
--- a/test/fixedbugs/bug229.go
+++ b/test/fixedbugs/bug229.go
@@ -12,9 +12,9 @@ func main() {
var t testing.T
// make sure error mentions that
- // ch is unexported, not just "ch not found".
+ // name is unexported, not just "name not found".
- t.ch = nil // ERROR "unexported"
+ t.name = nil // ERROR "unexported"
println(testing.anyLowercaseName("asdf")) // ERROR "unexported" "undefined: testing.anyLowercaseName"
}