Add do-not-edit banner to generated files
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/*******************************************************************************
|
||||
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
||||
*******************************************************************************/
|
||||
package impl
|
||||
|
||||
import (
|
||||
@@ -98,9 +101,7 @@ func TestSlice(t *testing.T) {
|
||||
s := New(One, Two, Three)
|
||||
out := s.Slice()
|
||||
exp := []int{One, Two, Three}
|
||||
ignoreOrder := cmpopts.SortSlices(func(a, b int) bool {
|
||||
return a < b
|
||||
})
|
||||
ignoreOrder := cmpopts.SortSlices(func(a, b int) bool { return a < b })
|
||||
if !cmp.Equal(exp, out, ignoreOrder) {
|
||||
t.Errorf("Retured slice does not match: %s", cmp.Diff(exp, out))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user