func setup(t *testing.T) *Diff {
	byt, err := ioutil.ReadFile("example.diff")
	require.NoError(t, err)
	diff, err := Parse(string(byt))
	require.NoError(t, err)
	require.Equal(t, len(diff.Files), 6)
	return diff
}
TODO(waigani) tests are missing more creative names (spaces, special
chars), and diffed files that are not in the current directory.
package diffparser
import (
	"io/ioutil"
	"testing"
	"github.com/stretchr/testify/require"
)