diff options
author | Reinhard Tartler <siretart@tauware.de> | 2020-12-02 09:24:47 -0500 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2020-12-02 09:24:58 -0500 |
commit | 29cc1453eab24cbbfcdd21b9b86a36ff3183a840 (patch) | |
tree | 6a8ea32fea737936384e95e2ba2109dfc373697c /vendor/github.com/onsi/gomega/matchers/attributes_slice.go | |
parent | 8086b728c2d5c06e05010693cdbe64e972a31128 (diff) |
delete vendor tree
Diffstat (limited to 'vendor/github.com/onsi/gomega/matchers/attributes_slice.go')
-rw-r--r-- | vendor/github.com/onsi/gomega/matchers/attributes_slice.go | 14 |
1 files changed, 0 insertions, 14 deletions
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] } |