(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestTreeEntryFormat(t *testing.T) { |
| 10 | entries := []TreeEntry{ |
| 11 | {Blob, Hash("a85730cf5287d40a1e32d3a671ba2296c73387cb"), "name"}, |
| 12 | {Tree, Hash("a85730cf5287d40a1e32d3a671ba2296c73387cb"), "name"}, |
| 13 | } |
| 14 | |
| 15 | for _, entry := range entries { |
| 16 | _ = entry.Format() |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | func TestTreeEntryParse(t *testing.T) { |
| 21 | lines := []string{ |