mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
Fix typos
This commit is contained in:
committed by
Michael Eischer
parent
a72b418319
commit
ac00229386
@@ -128,7 +128,7 @@ func TestAssociatedSetWithExtendedIndex(t *testing.T) {
|
||||
mi.StorePack(blob2.PackID, []restic.Blob{blob2.Blob})
|
||||
test.OK(t, mi.SaveIndex(context.TODO(), &noopSaver{}))
|
||||
|
||||
// non-existant
|
||||
// non-existent
|
||||
test.Equals(t, false, bs.Has(of))
|
||||
// set
|
||||
bs.Set(of, 5)
|
||||
|
||||
@@ -156,7 +156,7 @@ func TestIndexMapFirstIndex(t *testing.T) {
|
||||
|
||||
for i := 1; i <= 400; i++ {
|
||||
r.Read(id[:])
|
||||
rtest.Equals(t, -1, m.firstIndex(id), "wrong firstIndex for nonexistant id")
|
||||
rtest.Equals(t, -1, m.firstIndex(id), "wrong firstIndex for nonexistent id")
|
||||
|
||||
m.add(id, 0, 0, 0, 0)
|
||||
idx := m.firstIndex(id)
|
||||
|
||||
Reference in New Issue
Block a user