summaryrefslogtreecommitdiff
path: root/src/pkg/testing/quick/quick_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/testing/quick/quick_test.go')
-rw-r--r--src/pkg/testing/quick/quick_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pkg/testing/quick/quick_test.go b/src/pkg/testing/quick/quick_test.go
index f2618c3c2..a6cf0dc39 100644
--- a/src/pkg/testing/quick/quick_test.go
+++ b/src/pkg/testing/quick/quick_test.go
@@ -5,10 +5,9 @@
package quick
import (
- "rand"
+ "math/rand"
"reflect"
"testing"
- "os"
)
func fBool(a bool) bool { return a }
@@ -63,7 +62,7 @@ func fIntptr(a *int) *int {
return &b
}
-func reportError(property string, err os.Error, t *testing.T) {
+func reportError(property string, err error, t *testing.T) {
if err != nil {
t.Errorf("%s: %s", property, err)
}