mirror of
https://github.com/golang/go
synced 2024-11-19 13:14:42 -07:00
parent
114f73f822
commit
d8bc797ed5
@ -51,9 +51,7 @@ func (j *decoder) Int64(i int64) { j.value = float64(i) }
|
||||
|
||||
func (j *decoder) Uint64(i uint64) { j.value = float64(i) }
|
||||
|
||||
func (j *decoder) Float64(f float64) {
|
||||
j.value = float64(f)
|
||||
}
|
||||
func (j *decoder) Float64(f float64) { j.value = float64(f) }
|
||||
|
||||
func (j *decoder) String(s string) { j.value = s }
|
||||
|
||||
|
@ -104,8 +104,8 @@ func assertResult(t *testing.T, results, expected interface{}) {
|
||||
}
|
||||
|
||||
type decodeTest struct {
|
||||
s string;
|
||||
r interface{};
|
||||
s string;
|
||||
r interface{};
|
||||
}
|
||||
|
||||
var tests = []decodeTest{
|
||||
|
Loading…
Reference in New Issue
Block a user