aboutsummaryrefslogtreecommitdiffstats
path: root/tests/operation_pack_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-25 17:56:58 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-25 17:56:58 +0200
commit40c6e64e4badfd543dc98237e1aeb3d8958cfe90 (patch)
tree03a992d71a1bfa3f069a5ef179649c0cf8479764 /tests/operation_pack_test.go
parent5d7c3a76af85a857a6bb0bff5bac5282c0a9908f (diff)
downloadgit-bug-40c6e64e4badfd543dc98237e1aeb3d8958cfe90.tar.gz
cache: add raw edit functions to allow setting up the author, the timestamp and the metadatas
Diffstat (limited to 'tests/operation_pack_test.go')
-rw-r--r--tests/operation_pack_test.go4
1 files changed, 2 insertions, 2 deletions
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",
})