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:
Diffstat (limited to 'domains_test.go')
-rw-r--r--domains_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/domains_test.go b/domains_test.go
index ae849f46..0406617f 100644
--- a/domains_test.go
+++ b/domains_test.go
@@ -1,13 +1,13 @@
package main
import (
- "testing"
- "github.com/stretchr/testify/require"
+ "crypto/rand"
"github.com/stretchr/testify/assert"
- "time"
+ "github.com/stretchr/testify/require"
"io/ioutil"
- "crypto/rand"
"os"
+ "testing"
+ "time"
)
const updateFile = "shared/pages/.update"
@@ -20,7 +20,7 @@ func TestReadProjects(t *testing.T) {
require.NoError(t, err)
var domains []string
- for domain, _ := range d {
+ for domain := range d {
domains = append(domains, domain)
}