From e2658c6de0cbefeba02897186deefc900a7421bb Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Wed, 6 Jul 2022 17:03:00 -0500 Subject: [PATCH] helpers: fix critical typo --- helper/boltdd/boltdd_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helper/boltdd/boltdd_test.go b/helper/boltdd/boltdd_test.go index 553c39e71..87e8d523d 100644 --- a/helper/boltdd/boltdd_test.go +++ b/helper/boltdd/boltdd_test.go @@ -111,7 +111,7 @@ func TestBucket_Iterate(t *testing.T) { must.NotNil(t, b) must.NoError(t, b.Put([]byte("ceo"), employee{Name: "dave", ID: 15})) - must.NoError(t, b.Put([]byte("founder"), employee{Name: "mitchel", ID: 1})) + must.NoError(t, b.Put([]byte("founder"), employee{Name: "mitchell", ID: 1})) must.NoError(t, b.Put([]byte("cto"), employee{Name: "armon", ID: 2})) return nil })) @@ -126,7 +126,7 @@ func TestBucket_Iterate(t *testing.T) { }) must.NoError(t, err) must.Eq(t, []employee{ - {"dave", 15}, {"armon", 2}, {"mitchel", 1}, + {"dave", 15}, {"armon", 2}, {"mitchell", 1}, }, result) }) @@ -158,7 +158,7 @@ func TestBucket_DeletePrefix(t *testing.T) { must.NoError(t, b.Put([]byte("intern_a"), employee{Name: "alice", ID: 7384})) must.NoError(t, b.Put([]byte("exec_c"), employee{Name: "armon", ID: 2})) must.NoError(t, b.Put([]byte("intern_b"), employee{Name: "bob", ID: 7312})) - must.NoError(t, b.Put([]byte("exec_b"), employee{Name: "mitchel", ID: 1})) + must.NoError(t, b.Put([]byte("exec_b"), employee{Name: "mitchell", ID: 1})) return nil })) @@ -178,7 +178,7 @@ func TestBucket_DeletePrefix(t *testing.T) { }) must.NoError(t, err) must.Eq(t, []employee{ - {"dave", 15}, {"mitchel", 1}, {"armon", 2}, + {"dave", 15}, {"mitchell", 1}, {"armon", 2}, }, result) }