test: abort if Create() fails
This commit is contained in:
parent
08c98588f6
commit
aaf57943fc
|
@ -21,7 +21,7 @@ func testStoreHelper(t *testing.T, drv StoreDriver) {
|
|||
t.Errorf("Create() failed (%v)", e1)
|
||||
}
|
||||
if t1 == nil {
|
||||
t.Error("Create() returned nil result")
|
||||
t.Fatal("Create() returned nil result")
|
||||
}
|
||||
idOk, err := regexp.MatchString("^[[:xdigit:]]{32}$", t1.ID)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue