(t *testing.T)
| 35 | } |
| 36 | |
| 37 | func TestCreateTypeResolver(t *testing.T) { |
| 38 | // Test that the type resolver creation doesn't panic with nil input |
| 39 | types := createTypeResolver(nil) |
| 40 | if types == nil { |
| 41 | t.Error("Expected non-nil type resolver") |
| 42 | } |
| 43 | |
| 44 | // Test with empty slice |
| 45 | types = createTypeResolver([]protoreflect.FileDescriptor{}) |
| 46 | if types == nil { |
| 47 | t.Error("Expected non-nil type resolver") |
| 48 | } |
| 49 | } |
nothing calls this directly
no test coverage detected