]> Cypherpunks repositories - gostls13.git/commitdiff
test: make bug107 os.Error-proof
authorRuss Cox <rsc@golang.org>
Mon, 31 Oct 2011 21:50:38 +0000 (17:50 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 31 Oct 2011 21:50:38 +0000 (17:50 -0400)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5306087

test/fixedbugs/bug107.go

index d0b062a65907de3b4485b00353265fa719adf731..0554bbc8b85e5bedcc9d5bedfdd9ce63e692e3fa 100644 (file)
@@ -6,7 +6,7 @@
 
 package main
 import os "os"
-type _ os.Error
+type _ os.FileInfo
 func f() (os int) {
         // In the next line "os" should refer to the result variable, not
         // to the package.