File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -307,8 +307,6 @@ var _ = Describe("ForceOwnership", func() {
307
307
})
308
308
309
309
var _ = Describe ("HasLabels" , func () {
310
- const invalidLongKey = "axahm2EJ8Phiephe2eixohbee9eGeiyees1thuozi1xoh0GiuH3diewi8iem7Nui"
311
-
312
310
It ("Should produce hasLabels in given order" , func () {
313
311
listOpts := & client.ListOptions {}
314
312
@@ -317,14 +315,6 @@ var _ = Describe("HasLabels", func() {
317
315
Expect (listOpts .LabelSelector .String ()).To (Equal ("labelApe,labelFox" ))
318
316
})
319
317
320
- It ("Should produce an empty selector when given invalid input" , func () {
321
- listOpts := & client.ListOptions {}
322
- // construct a valid hasLabels selector
323
- hasLabel := client .HasLabels ([]string {invalidLongKey })
324
- hasLabel .ApplyToList (listOpts )
325
- Expect (listOpts .LabelSelector .Empty ()).To (BeTrue ())
326
- })
327
-
328
318
It ("Should add hasLabels to existing hasLabels selector" , func () {
329
319
listOpts := & client.ListOptions {}
330
320
You can’t perform that action at this time.
0 commit comments