Update store/store_test.go
This commit is contained in:
parent
9ec9a8c0de
commit
b5fedaca37
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
package store
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
@ -265,3 +266,9 @@ func TestNew(t *testing.T) {
|
|||
t.Error(`str.delete should return an error "%s" (actual: %s)`, "database not open", err)
|
||||
}
|
||||
}
|
||||
|
||||
func ExampleNew() {
|
||||
fmt.Println("This is an example.")
|
||||
// Output:
|
||||
// This is an example.
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue