forked from mirror/gorm
Remove unnecessary output in tests
This commit is contained in:
parent
1ff630f3d5
commit
0e8f9011bf
|
@ -170,7 +170,6 @@ func TestPrecision(t *testing.T) {
|
||||||
|
|
||||||
var u User
|
var u User
|
||||||
db.First(&u, "name = ?", "Precision")
|
db.First(&u, "name = ?", "Precision")
|
||||||
fmt.Println(u.Latitude)
|
|
||||||
if u.Latitude != f {
|
if u.Latitude != f {
|
||||||
t.Errorf("Float64 should not be changed after query")
|
t.Errorf("Float64 should not be changed after query")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue