Skip to content

Commit

Permalink
Clean up comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Jun 26, 2024
1 parent f69af93 commit fe4640e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/persistedmap/persistedmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit fe4640e

Please sign in to comment.