Remove _test suffix from package name
This commit is contained in:
parent
2715e5a3f7
commit
12d6557cfe
@ -1,11 +1,9 @@
|
|||||||
package store_test
|
package store
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"io"
|
"io"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/crusttech/crust/store"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestStore(t *testing.T) {
|
func TestStore(t *testing.T) {
|
||||||
@ -20,7 +18,7 @@ func TestStore(t *testing.T) {
|
|||||||
return b.String()
|
return b.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
store, err := store.New("test")
|
store, err := New("test")
|
||||||
assert(err == nil, "Unexpected error when creating store: %+v", err)
|
assert(err == nil, "Unexpected error when creating store: %+v", err)
|
||||||
assert(store != nil, "Expected non-nil return for new store")
|
assert(store != nil, "Expected non-nil return for new store")
|
||||||
assert(store.Namespace() == "test", "Unexpected store namespace: test != %s", store.Namespace())
|
assert(store.Namespace() == "test", "Unexpected store namespace: test != %s", store.Namespace())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user