diff options
| author | 2026-06-13 16:34:13 +0000 | |
|---|---|---|
| committer | 2026-06-13 16:34:13 +0000 | |
| commit | ba18c0f8b6a39508d06e2cb6bcbf2790c7d83c34 (patch) | |
| tree | dc9afb15d0cf0612af122b536da2dfc226b29e2f /object | |
| parent | deps: Update lgo checksum (diff) | |
object/tree: Fix tests again
Diffstat (limited to 'object')
| -rw-r--r-- | object/tree/roundtrip_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/object/tree/roundtrip_test.go b/object/tree/roundtrip_test.go index 3e82c79a..a9d5f40f 100644 --- a/object/tree/roundtrip_test.go +++ b/object/tree/roundtrip_test.go @@ -70,7 +70,7 @@ func assertEntriesEqual(t *testing.T, got []tree.Entry, want []tree.Entry) { t.Fatalf("entry[%d] mode = %o, want %o", i, got[i].Mode, want[i].Mode) } - if got[i].Name != want[i].Name { + if !bytes.Equal(got[i].Name, want[i].Name) { t.Fatalf("entry[%d] name = %q, want %q", i, got[i].Name, want[i].Name) } |
