You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: load_test.go
    path of file: ./repos/kubelogin/pkg/tlsclientconfig/loader
    
    the code of the file until where you have to start completion: package loader

import (
	"os"
	"testing"

	"github.com/int128/kubelogin/pkg/tlsclientconfig"
)

func TestLoader_Load(t *testing.T) {
	var loader Loader
	t.Run("Zero", func(t *testing.T) {
		cfg, err := loader.Load(tlsclientconfig.Config{})
		if err != nil {
			t.Errorf("Load error: %s", err)
		}
		if cfg.RootCAs != nil {
			t.Errorf("RootCAs wants nil but was %+v", cfg.RootCAs)
		}
	})
	t.Run("ValidFile", func(t *testing.T) {
		cfg, err := loader.Load(tlsclientconfig.Config{
			CACertFilename: []string{"testdata/ca1.crt"},
		})
		if err != nil {
			t.Errorf("Load error: %s", err)
		}
		if cfg.RootCAs == nil {
			t.Errorf("RootCAs wants non-nil but was nil")
		}
	})
	t.Run("InvalidFile", func(t *testing.T) {
		_, err := loader.Load(tlsclientconfig.Config{
			CACertFilename: []string{"t
    
func TestLoader_Load(t *testing.T) {
	var loader Loader
	t.Run("Zero", func(t *testing.T) {
		cfg, err := loader.Load(tlsclientconfig.Config{})
		if err != nil {
			t.Errorf("Load error: %s", err)
		}
		if cfg.RootCAs != nil {
			t.Errorf("RootCAs wants nil but was %+v", cfg.RootCAs)
		}
	})
	t.Run("ValidFile", func(t *testing.T) {
		cfg, err := loader.Load(tlsclientconfig.Config{
			CACertFilename: []string{"testdata/ca1.crt"},
		})
		if err != nil {
			t.Errorf("Load error: %s", err)
		}
		if cfg.RootCAs == nil {
			t.Errorf("RootCAs wants non-nil but was nil")
		}
	})
	t.Run("InvalidFile", func(t *testing.T) {
		_, err := loader.Load(tlsclientconfig.Config{
			CACertFilename: []string{"testdata/Makefile"},
		})
		if err == nil {
			t.Errorf("AddFile wants an error but was nil")
		}
	})
	t.Run("ValidBase64", func(t *testing.T) {
		cfg, err := loader.Load(tlsclientconfig.Config{
			CACertData: []string{readFile(t, "testdata/ca2.crt.base64")},
		})
		if err != nil {
			t.Errorf("Load error: %s", err)
		}
		if cfg.RootCAs == nil {
			t.Errorf("RootCAs wants non-nil but was nil")
		}
	})
}