diff options
author | Nick Thomas <nick@gitlab.com> | 2018-08-23 17:17:37 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-08-23 17:17:37 +0300 |
commit | c0faa967b6b03348ca961744f23ac5952795a109 (patch) | |
tree | 4637208eb672a1abb31dca6c4b700337b1b50f57 /internal/domain | |
parent | 08ce3b131151b847b3dd41535c016920a5937bf8 (diff) |
Update map_test.go
Diffstat (limited to 'internal/domain')
-rw-r--r-- | internal/domain/map_test.go | 5 |
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)) }) |