dep ensure -update k8s.io/client-go (#197)
This commit is contained in:
3
vendor/k8s.io/client-go/util/jsonpath/BUILD
generated
vendored
3
vendor/k8s.io/client-go/util/jsonpath/BUILD
generated
vendored
@@ -12,8 +12,7 @@ go_test(
|
||||
"jsonpath_test.go",
|
||||
"parser_test.go",
|
||||
],
|
||||
importpath = "k8s.io/client-go/util/jsonpath",
|
||||
library = ":go_default_library",
|
||||
embed = [":go_default_library"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
|
||||
2
vendor/k8s.io/client-go/util/jsonpath/jsonpath_test.go
generated
vendored
2
vendor/k8s.io/client-go/util/jsonpath/jsonpath_test.go
generated
vendored
@@ -190,7 +190,7 @@ func TestStructInput(t *testing.T) {
|
||||
{"nonexistent field", "{.hello}", storeData, "hello is not found", false},
|
||||
{"invalid array", "{.Labels[0]}", storeData, "map[string]int is not array or slice", false},
|
||||
{"invalid filter operator", "{.Book[?(@.Price<>10)]}", storeData, "unrecognized filter operator <>", false},
|
||||
{"redundent end", "{range .Labels.*}{@}{end}{end}", storeData, "not in range, nothing to end", false},
|
||||
{"redundant end", "{range .Labels.*}{@}{end}{end}", storeData, "not in range, nothing to end", false},
|
||||
}
|
||||
testFailJSONPath(failStoreTests, t)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user