diff options
Diffstat (limited to 'test/presubmit_test.go')
-rw-r--r-- | test/presubmit_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/presubmit_test.go b/test/presubmit_test.go index 5d519d759..903661ba0 100644 --- a/test/presubmit_test.go +++ b/test/presubmit_test.go @@ -293,7 +293,7 @@ func (w *testImportOrderingWalker) walk(path string, info os.FileInfo, _ error) // Ok, now that we have the type, let's see if all members adhere to it. // After that we check if the are in the right order. - for i := 0; i < bl; i++ { + for i := 0; i <= bl; i++ { for _, p := range blocks[i] { t := importtype(p.Path.Value) if t != ip[i] { |