diff options
Diffstat (limited to 'repo_test.go')
-rw-r--r-- | repo_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/repo_test.go b/repo_test.go index 21eccac..244942e 100644 --- a/repo_test.go +++ b/repo_test.go @@ -204,6 +204,13 @@ func TestBsdiff(t *testing.T) { } } +func TestCommit(t *testing.T) { + dest := t.TempDir() + source := path.Join("test", "data") + repo := NewRepo(dest) + repo.Commit(source) +} + func assertLen(t *testing.T, expected int, actual interface{}, prefix string) { s := reflect.ValueOf(actual) if s.Len() != expected { |