diff --git a/modulegen/main_test.go b/modulegen/main_test.go index 4d28da665c..f861a8d3ac 100644 --- a/modulegen/main_test.go +++ b/modulegen/main_test.go @@ -482,11 +482,11 @@ func assertModuleGithubWorkflowContent(t *testing.T, module context.Testcontaine modulesList, err := ctx.GetModules() require.NoError(t, err) - assert.Equal(t, " module: ["+strings.Join(modulesList, ", ")+"]", data[108]) + assert.Equal(t, " module: ["+strings.Join(modulesList, ", ")+"]", data[106]) examplesList, err := ctx.GetExamples() require.NoError(t, err) - assert.Equal(t, " module: ["+strings.Join(examplesList, ", ")+"]", data[128]) + assert.Equal(t, " module: ["+strings.Join(examplesList, ", ")+"]", data[126]) } // assert content go.mod