func truncatePath(file string) string {
	return filepath.Join(filepath.Base(filepath.Dir(file)), filepath.Base(file))
}
truncatePath only keep the base filename and its immediate containing
directory.
package ut
import (
	"bytes"
	"fmt"
	"io"
	"path/filepath"
	"reflect"
	"runtime"
	"strings"
	"testing"
	"github.com/kr/pretty"
	"github.com/pmezard/go-difflib/difflib"
)
var newLine = []byte{'\n'}
var blacklistedItems = map[string]bool{
	filepath.Join("runtime", "asm_386.s"):   true,
	filepath.Join("runtime", "asm_amd64.s"): true,
	filepath.Join("runtime", "asm_arm.s"):   true,
	filepath.Join("runtime", "proc.c"):      true,
	filepath.Join("testing", "testing.go"):  true,
	filepath.Join("ut", "utiltest.go"):      true,
	"utiltest.go":                           true,
}