diff options
author | Simon Frei <freisim93@gmail.com> | 2021-03-03 08:53:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 08:53:50 +0100 |
commit | 3d91f7c975a862be418afa43f5ca366f6e1dbd2b (patch) | |
tree | ce415ddd1c2d0e95c2d23efcd955ec769bee6679 /meta | |
parent | 7945430e64d885a848887ce1a9231551067cebe7 (diff) | |
download | syncthing-3d91f7c975a862be418afa43f5ca366f6e1dbd2b.tar.gz syncthing-3d91f7c975a862be418afa43f5ca366f6e1dbd2b.zip |
lib: Use counterfeiter to mock interfaces in tests (#7375)
Diffstat (limited to 'meta')
-rw-r--r-- | meta/copyright_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/copyright_test.go b/meta/copyright_test.go index 6b31f49d6..8de266210 100644 --- a/meta/copyright_test.go +++ b/meta/copyright_test.go @@ -31,6 +31,7 @@ var copyrightRegexps = []string{ `package auto`, `automatically generated by genxdr`, `generated by protoc`, + `^// Code generated .* DO NOT EDIT\.$`, } var copyrightRe = regexp.MustCompile(strings.Join(copyrightRegexps, "|")) |