replace Redis with an embedded SQLite string->string KV store (group commit, in-tx events, SQL search)
Build and Push Docker Image / build (push) Successful in 2m44s
Build and Push Docker Image / build (push) Successful in 2m44s
This commit is contained in:
@@ -60,11 +60,11 @@ func TestCIDFromKeysetField(t *testing.T) {
|
||||
{"cids/bafkmidhash", "bafkmidhash"},
|
||||
{"cids/baejbeisha256", "baejbeisha256"},
|
||||
{"cids/bafyipfs", "bafyipfs"},
|
||||
{"title", ""}, // non-CID field
|
||||
{"tmdb/title", ""}, // non-CID nested
|
||||
{"cid_sha2-256", ""}, // legacy flat field — no longer recognized
|
||||
{"midhash256", ""}, // legacy named field — no longer recognized
|
||||
{"cids", ""}, // prefix without a member
|
||||
{"title", ""}, // non-CID field
|
||||
{"tmdb/title", ""}, // non-CID nested
|
||||
{"cid_sha2-256", ""}, // legacy flat field — no longer recognized
|
||||
{"midhash256", ""}, // legacy named field — no longer recognized
|
||||
{"cids", ""}, // prefix without a member
|
||||
}
|
||||
for _, tc := range cases {
|
||||
if got := cidFromKeysetField(tc.field); got != tc.want {
|
||||
|
||||
Reference in New Issue
Block a user