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 'internal/domain/group_test.go')
-rw-r--r--internal/domain/group_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/domain/group_test.go b/internal/domain/group_test.go
index 2e41ef53..8f75fe96 100644
--- a/internal/domain/group_test.go
+++ b/internal/domain/group_test.go
@@ -4,7 +4,7 @@ import (
"strings"
"testing"
- "github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
)
func TestGroupDig(t *testing.T) {
@@ -89,9 +89,9 @@ func TestGroupDig(t *testing.T) {
t.Run(test.name, func(t *testing.T) {
project, projectPath, urlPath := test.g.digProjectWithSubpath("", strings.Split(test.path, "/"))
- assert.Equal(t, test.expectedProject, project)
- assert.Equal(t, test.expectedProjectPath, projectPath)
- assert.Equal(t, test.expectedPath, urlPath)
+ require.Equal(t, test.expectedProject, project)
+ require.Equal(t, test.expectedProjectPath, projectPath)
+ require.Equal(t, test.expectedPath, urlPath)
})
}
}