diff options
author | Michael Muré <batolettre@gmail.com> | 2021-03-21 18:22:04 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2021-03-21 18:22:04 +0100 |
commit | 5215634d0dca37c545904fbc8a12ddd9b8eb72df (patch) | |
tree | ee8094fe3eacd9c732cdd489a37340fdcaf1e678 /entity/dag/common_test.go | |
parent | 214abe4dea1984086e45d1399538fb12aa010642 (diff) | |
download | git-bug-5215634d0dca37c545904fbc8a12ddd9b8eb72df.tar.gz |
entity: add support for storing files
Diffstat (limited to 'entity/dag/common_test.go')
-rw-r--r-- | entity/dag/common_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/entity/dag/common_test.go b/entity/dag/common_test.go index 1898451d..25289b76 100644 --- a/entity/dag/common_test.go +++ b/entity/dag/common_test.go @@ -21,9 +21,9 @@ import ( type op1 struct { author identity.Interface - OperationType int `json:"type"` - Field1 string `json:"field_1"` - Files []repository.Hash + OperationType int `json:"type"` + Field1 string `json:"field_1"` + Files []repository.Hash `json:"files"` } func newOp1(author identity.Interface, field1 string, files ...repository.Hash) *op1 { |