Commit e74a43c4 authored by gwenn's avatar gwenn

Misc

parent 9747d62d
......@@ -34,7 +34,7 @@ func Example() {
if err = s.Scan(&name); err != nil {
return
}
fmt.Printf("%s\n", name)
fmt.Println(name)
return
})
// Output: gosqlite driver
......@@ -91,7 +91,7 @@ func ExampleStmt_Insert() {
for _, d := range data {
rowId, err := s.Insert(d)
check(err)
fmt.Printf("%d\n", rowId)
fmt.Println(rowId)
}
// Output: 1
// 2
......
......@@ -59,7 +59,7 @@ func commitHook(d interface{}) bool {
if t, ok := d.(*testing.T); ok {
t.Log("CMT")
} else {
fmt.Printf("%s\n", d)
fmt.Println(d)
}
return false
}
......@@ -68,7 +68,7 @@ func rollbackHook(d interface{}) {
if t, ok := d.(*testing.T); ok {
t.Log("RBK")
} else {
fmt.Printf("%s\n", d)
fmt.Println(d)
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment