Index: impl/memory/testing_utils_test.go |
diff --git a/impl/memory/testing_utils_test.go b/impl/memory/testing_utils_test.go |
index 42089586997a7def196ccc522fddec056cc7f6d6..8d89b118eebb34953d4c1b386e22e9d146c55084 100644 |
--- a/impl/memory/testing_utils_test.go |
+++ b/impl/memory/testing_utils_test.go |
@@ -51,7 +51,7 @@ func key(kind string, id interface{}, parent ...ds.Key) ds.Key { |
case int: |
return dskey.New(globalAppID, "ns", kind, "", int64(x), p) |
default: |
- panic(fmt.Errorf("what the %T: %v", id, id)) |
+ return dskey.New(globalAppID, "ns", kind, "invalid", 100, p) |
} |
} |