From 88ecfcb7b517fd3cbed1c683b0d8835a4d55b2fc Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 6 Sep 2021 18:21:29 +0200 Subject: initial chunk storage --- repo_test.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'repo_test.go') 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 { -- cgit v1.2.3