Update store/store_test.go

This commit is contained in:
yosssi 2014-06-18 10:58:46 +09:00
parent 9ec9a8c0de
commit b5fedaca37

View file

@ -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.
}