Add do-not-edit banner to generated files

This commit is contained in:
2018-06-23 23:50:01 +02:00
parent b06910f223
commit 3403a1c118
23 changed files with 82 additions and 34 deletions
+3
View File
@@ -1,3 +1,6 @@
/*******************************************************************************
THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT!
*******************************************************************************/
package impl
import (
+4 -3
View File
@@ -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))
}