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: check_test.go
    path of file: ./repos/kubeedge/pkg/util/validation
    
    the code of the file until where you have to start completion: package validation

import (
	"os"
	"path/filepath"
	"testing"
)

func TestFileIsExist(t *testing.T) {
	dir := t.TempDir()

	ef, err := os.CreateTemp(dir, "CheckFileIsExist")
	if err == nil {
		if !FileIsExis
    
func TestFileIsExist(t *testing.T) {
	dir := t.TempDir()

	ef, err := os.CreateTemp(dir, "CheckFileIsExist")
	if err == nil {
		if !FileIsExist(ef.Name()) {
			t.Fatalf("file %v should exist", ef.Name())
		}
	}

	nonexistentDir := filepath.Join(dir, "not_exist_dir")
	notExistFile := filepath.Join(nonexistentDir, "not_exist_file")

	if FileIsExist(notExistFile) {
		t.Fatalf("file %v should not exist", notExistFile)
	}
}