Skip to content

Commit 22936d7

Browse files
committed
fix: test names
1 parent 07e4dbc commit 22936d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tx_map_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ func TestSplitSwissLockFreeMapUint64(t *testing.T) {
159159
})
160160
}
161161

162-
// TestSwissLockFreeMapUint64_Get_ValueExists ensures getting an existing key
162+
// TestSwissLockFreeMapUint64GetValueExists ensures getting an existing key
163163
// returns the stored value and true.
164-
func TestSwissLockFreeMapUint64_Get_ValueExists(t *testing.T) {
164+
func TestSwissLockFreeMapUint64GetValueExists(t *testing.T) {
165165
m := NewSwissLockFreeMapUint64(10)
166166
require.NoError(t, m.Put(1, 5))
167167

@@ -170,9 +170,9 @@ func TestSwissLockFreeMapUint64_Get_ValueExists(t *testing.T) {
170170
assert.Equal(t, uint64(5), val)
171171
}
172172

173-
// TestSwissLockFreeMapUint64_Get_ValueMissing ensures getting a missing key
173+
// TestSwissLockFreeMapUint64GetValueMissing ensures getting a missing key
174174
// returns zero value and false.
175-
func TestSwissLockFreeMapUint64_Get_ValueMissing(t *testing.T) {
175+
func TestSwissLockFreeMapUint64GetValueMissing(t *testing.T) {
176176
m := NewSwissLockFreeMapUint64(10)
177177

178178
val, ok := m.Get(2)

0 commit comments

Comments
 (0)