Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-08-23 17:17:37 +0300
committerNick Thomas <nick@gitlab.com>2018-08-23 17:17:37 +0300
commitc0faa967b6b03348ca961744f23ac5952795a109 (patch)
tree4637208eb672a1abb31dca6c4b700337b1b50f57 /internal
parent08ce3b131151b847b3dd41535c016920a5937bf8 (diff)
Update map_test.go
Diffstat (limited to 'internal')
-rw-r--r--internal/domain/map_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/domain/map_test.go b/internal/domain/map_test.go
index 96dab65f..21d547ac 100644
--- a/internal/domain/map_test.go
+++ b/internal/domain/map_test.go
@@ -33,8 +33,7 @@ func TestReadProjects(t *testing.T) {
setUpTests()
dm := make(Map)
- err := dm.ReadGroups("test.io", getEntries(t))
- require.NoError(t, err)
+ dm.ReadGroups("test.io", getEntries(t))
var domains []string
for d := range dm {
@@ -158,7 +157,7 @@ func BenchmarkReadGroups(b *testing.B) {
var dm Map
for i := 0; i < 2; i++ {
dm = make(Map)
- require.NoError(b, dm.ReadGroups("example.com", getEntriesForBenchmark(b)))
+ dm.ReadGroups("example.com", getEntriesForBenchmark(b))
}
b.Logf("found %d domains", len(dm))
})