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:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2022-02-03 22:39:46 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2022-02-03 22:52:19 +0300
commitb7d42ef5004b59d1885dcd332eaab64805d2578c (patch)
treea7167159ae9808b82bc88c114ffd7afd9773ecf3 /internal/source/gitlab/factory_test.go
parentf2fd9a8e0b4778991adf054ef8f3a7244200a60d (diff)
test: migrate to assertions using modern error checking
Diffstat (limited to 'internal/source/gitlab/factory_test.go')
-rw-r--r--internal/source/gitlab/factory_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/source/gitlab/factory_test.go b/internal/source/gitlab/factory_test.go
index 705fdc47..78d17ad7 100644
--- a/internal/source/gitlab/factory_test.go
+++ b/internal/source/gitlab/factory_test.go
@@ -54,7 +54,7 @@ func TestFabricateServing(t *testing.T) {
Source: api.Source{Type: "file"},
}
srv, err := g.fabricateServing(lookup)
- require.EqualError(t, err, ErrDiskDisabled.Error())
+ require.ErrorIs(t, err, ErrDiskDisabled)
require.Nil(t, srv)
})
}