From 40c6e64e4badfd543dc98237e1aeb3d8958cfe90 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Tue, 25 Sep 2018 17:56:58 +0200 Subject: cache: add raw edit functions to allow setting up the author, the timestamp and the metadatas --- tests/operation_pack_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/operation_pack_test.go') diff --git a/tests/operation_pack_test.go b/tests/operation_pack_test.go index d7393c29..aab1f1c9 100644 --- a/tests/operation_pack_test.go +++ b/tests/operation_pack_test.go @@ -19,7 +19,7 @@ func TestOperationPackSerialize(t *testing.T) { opp.Append(setStatusOp) opp.Append(labelChangeOp) - opMeta := operations.NewCreateOp(rene, "title", "message", nil) + opMeta := operations.NewCreateOp(rene, unix, "title", "message", nil) opMeta.SetMetadata("key", "value") opp.Append(opMeta) @@ -27,7 +27,7 @@ func TestOperationPackSerialize(t *testing.T) { t.Fatal() } - opFile := operations.NewCreateOp(rene, "title", "message", []git.Hash{ + opFile := operations.NewCreateOp(rene, unix, "title", "message", []git.Hash{ "abcdef", "ghijkl", }) -- cgit