From 29cc1453eab24cbbfcdd21b9b86a36ff3183a840 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Wed, 2 Dec 2020 09:24:47 -0500 Subject: delete vendor tree --- vendor/github.com/onsi/gomega/matchers/attributes_slice.go | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 vendor/github.com/onsi/gomega/matchers/attributes_slice.go (limited to 'vendor/github.com/onsi/gomega/matchers/attributes_slice.go') diff --git a/vendor/github.com/onsi/gomega/matchers/attributes_slice.go b/vendor/github.com/onsi/gomega/matchers/attributes_slice.go deleted file mode 100644 index 355b362..0000000 --- a/vendor/github.com/onsi/gomega/matchers/attributes_slice.go +++ /dev/null @@ -1,14 +0,0 @@ -package matchers - -import ( - "encoding/xml" - "strings" -) - -type attributesSlice []xml.Attr - -func (attrs attributesSlice) Len() int { return len(attrs) } -func (attrs attributesSlice) Less(i, j int) bool { - return strings.Compare(attrs[i].Name.Local, attrs[j].Name.Local) == -1 -} -func (attrs attributesSlice) Swap(i, j int) { attrs[i], attrs[j] = attrs[j], attrs[i] } -- cgit v1.2.3