func TestMain(m *testing.M) { … } func TestDisablingCodeLens(t *testing.T) { … } const proxyWithLatest … // This test confirms the full functionality of the code lenses for updating // dependencies in a go.mod file, when using a go.work file. It checks for the // code lens that suggests an update and then executes the command associated // with that code lens. A regression test for golang/go#39446. It also checks // that these code lenses only affect the diagnostics and contents of the // containing go.mod file. func TestUpgradeCodelens_Workspace(t *testing.T) { … } func TestUpgradeCodelens_ModVendor(t *testing.T) { … } func TestUnusedDependenciesCodelens(t *testing.T) { … } func TestRegenerateCgo(t *testing.T) { … }