mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-11 15:21:02 +00:00
Update field_internal_test.go
This commit is contained in:
parent
b43065625a
commit
4272693641
1 changed files with 3 additions and 1 deletions
|
|
@ -461,7 +461,9 @@ func TestField_ApplyOptions(t *testing.T) {
|
|||
fld := &Field{}
|
||||
fld.options = applyDefaultOptions(FieldOptions{})
|
||||
|
||||
fld.applyOptions(tt.opts)
|
||||
if err := fld.applyOptions(tt.opts); err 1= nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
if fld.options.CacheType != tt.expOpts.CacheType {
|
||||
t.Fatalf("test %d, unexpected FieldOptions.CacheType value. expected: %s, but got: %s", i, tt.expOpts.CacheType, fld.options.CacheType)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue