@@ -44,10 +44,10 @@ var _ = Describe("ListOptions", func() {
4444 expectedListOpts := & client.ListOptions {LabelSelector : client.MatchingLabelsSelector {Selector : labelSelector }}
4545 Expect (newListOpts ).To (Equal (expectedListOpts ))
4646 })
47- It ("Should set LabelSelector to everything with empty MatchingLabelsSelector" , func () {
47+ It ("Should set LabelSelector to nothing with empty MatchingLabelsSelector" , func () {
4848 newListOpts := & client.ListOptions {}
4949 newListOpts .ApplyOptions ([]client.ListOption {client.MatchingLabelsSelector {}})
50- expectedListOpts := & client.ListOptions {LabelSelector : client.MatchingLabelsSelector {Selector : labels .Everything ()}}
50+ expectedListOpts := & client.ListOptions {LabelSelector : client.MatchingLabelsSelector {Selector : labels .Nothing ()}}
5151 Expect (newListOpts ).To (Equal (expectedListOpts ))
5252 })
5353 It ("Should set FieldSelector" , func () {
@@ -62,10 +62,10 @@ var _ = Describe("ListOptions", func() {
6262 expectedListOpts := & client.ListOptions {FieldSelector : client.MatchingFieldsSelector {Selector : fields .Nothing ()}}
6363 Expect (newListOpts ).To (Equal (expectedListOpts ))
6464 })
65- It ("Should set FieldSelector to everything with empty MatchingFieldsSelector" , func () {
65+ It ("Should set FieldSelector to nothing with empty MatchingFieldsSelector" , func () {
6666 newListOpts := & client.ListOptions {}
6767 newListOpts .ApplyOptions ([]client.ListOption {client.MatchingFieldsSelector {}})
68- expectedListOpts := & client.ListOptions {FieldSelector : client.MatchingFieldsSelector {Selector : fields .Everything ()}}
68+ expectedListOpts := & client.ListOptions {FieldSelector : client.MatchingFieldsSelector {Selector : fields .Nothing ()}}
6969 Expect (newListOpts ).To (Equal (expectedListOpts ))
7070 })
7171 It ("Should set Namespace" , func () {
0 commit comments