From fe4640e875a480e520a9bb6f63ebfed2b1efdaea Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Wed, 26 Jun 2024 11:01:08 -0700 Subject: [PATCH] Clean up comments. --- lib/persistedmap/persistedmap_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/persistedmap/persistedmap_test.go b/lib/persistedmap/persistedmap_test.go index 56c6b033..a8e45ecc 100644 --- a/lib/persistedmap/persistedmap_test.go +++ b/lib/persistedmap/persistedmap_test.go @@ -39,7 +39,6 @@ func TestPersistedMap_Flush(t *testing.T) { assert.NoError(t, pMap.flush()) // Does the data exist? - val, isOk := pMap.Get("key1") assert.True(t, isOk) assert.Equal(t, "value1", val) @@ -48,7 +47,7 @@ func TestPersistedMap_Flush(t *testing.T) { assert.Equal(t, 2, val) assert.True(t, isOk) - // If I load a new persisted map, does it come back? + // If I load a new PersistedMap, does it come back? pMap2 := NewPersistedMap(tmpFile.Name()) val, isOk = pMap2.Get("key1") assert.True(t, isOk)