We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06cecfa commit 67c8733Copy full SHA for 67c8733
1 file changed
pkg/stackit/client/labels_test.go
@@ -3,7 +3,6 @@ package client
3
import (
4
. "github.com/onsi/ginkgo/v2"
5
. "github.com/onsi/gomega"
6
- "github.com/stackitcloud/cloud-provider-stackit/pkg/stackit/client"
7
)
8
9
var _ = Describe("Labels", func() {
@@ -14,7 +13,7 @@ var _ = Describe("Labels", func() {
14
13
"key2": "value2",
15
}
16
17
- labels := client.LabelsFromTags(tags)
+ labels := LabelsFromTags(tags)
18
19
Expect(labels).To(HaveKeyWithValue("key1", "value1"))
20
Expect(labels).To(HaveKeyWithValue("key2", "value2"))
@@ -23,15 +22,15 @@ var _ = Describe("Labels", func() {
23
22
It("should handle empty tags", func() {
24
tags := map[string]string{}
25
26
27
28
Expect(labels).To(BeEmpty())
29
})
30
31
It("should handle nil tags", func() {
32
var tags map[string]string
33
34
35
36
37
0 commit comments