aboutsummaryrefslogtreecommitdiff
path: root/cmap/map_test.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-29 18:40:22 +0000
committerRunxi Yu <me@runxiyu.org>2024-12-29 18:40:22 +0000
commitb6c8304364d1457fa7454da257f7ad3d71131b91 (patch)
treede85e19971aa6ac127abf35b80421ff8f6907727 /cmap/map_test.go
parentInitial commit (diff)
downloadgo-lindenii-common-b6c8304364d1457fa7454da257f7ad3d71131b91.tar.gz
go-lindenii-common-b6c8304364d1457fa7454da257f7ad3d71131b91.tar.zst
go-lindenii-common-b6c8304364d1457fa7454da257f7ad3d71131b91.zip
Add ~emersion/go-scfg as a subdirectory
Diffstat (limited to '')
-rw-r--r--cmap/map_test.go (renamed from map_test.go)6
1 files changed, 3 insertions, 3 deletions
diff --git a/map_test.go b/cmap/map_test.go
index b131207..c407c18 100644
--- a/map_test.go
+++ b/cmap/map_test.go
@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package lindenii_common_test
+package cmap_test
import (
"math/rand"
@@ -12,13 +12,13 @@ import (
"sync"
"testing"
- lindenii_common "go.lindenii.runxiyu.org/lindenii-common"
+ "go.lindenii.runxiyu.org/lindenii-common/cmap"
)
func TestConcurrentRange(t *testing.T) {
const mapSize = 1 << 10
- m := new(lindenii_common.Map[int64, int64])
+ m := new(cmap.Map[int64, int64])
for n := int64(1); n <= mapSize; n++ {
m.Store(n, int64(n))
}