OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update to current version of Go library.
[pf3gnuchains/gcc-fork.git]
/
libgo
/
go
/
testing
/
quick
/
quick_test.go
diff --git
a/libgo/go/testing/quick/quick_test.go
b/libgo/go/testing/quick/quick_test.go
index
b126e4a
..
f2618c3
100644
(file)
--- a/
libgo/go/testing/quick/quick_test.go
+++ b/
libgo/go/testing/quick/quick_test.go
@@
-102,7
+102,7
@@
type myStruct struct {
}
func (m myStruct) Generate(r *rand.Rand, _ int) reflect.Value {
- return reflect.
NewValue
(myStruct{x: 42})
+ return reflect.
ValueOf
(myStruct{x: 42})
}
func myStructProperty(in myStruct) bool { return in.x == 42 }