gotools/gopls/internal/test/integration/misc/definition_test.go

const internalDefinition

func TestGoToInternalDefinition(t *testing.T) {}

const linknameDefinition

func TestGoToLinknameDefinition(t *testing.T) {}

const linknameDefinitionReverse

func TestGoToLinknameDefinitionInReverseDep(t *testing.T) {}

const linknameDefinitionDisconnected

func TestGoToLinknameDefinitionDisconnected(t *testing.T) {}

const stdlibDefinition

func TestGoToStdlibDefinition_Issue37045(t *testing.T) {}

func TestUnexportedStdlib_Issue40809(t *testing.T) {}

// Test the hover on an error's Error function.
// This can't be done via the marker tests because Error is a builtin.
func TestHoverOnError(t *testing.T) {}

func TestImportShortcut(t *testing.T) {}

func TestGoToTypeDefinition_Issue38589(t *testing.T) {}

func TestGoToTypeDefinition_Issue60544(t *testing.T) {}

// Test for golang/go#47825.
func TestImportTestVariant(t *testing.T) {}

// This test exercises a crashing pattern from golang/go#49223.
func TestGoToCrashingDefinition_Issue49223(t *testing.T) {}

// TestVendoringInvalidatesMetadata ensures that gopls uses the
// correct metadata even after an external 'go mod vendor' command
// causes packages to move; see issue #55995.
// See also TestImplementationsInVendor, which tests the same fix.
func TestVendoringInvalidatesMetadata(t *testing.T) {}

const embedDefinition

func TestGoToEmbedDefinition(t *testing.T) {}

func TestDefinitionOfErrorErrorMethod(t *testing.T) {}

func TestAssemblyDefinition(t *testing.T) {}

func TestPackageKeyInvalidationAfterSave(t *testing.T) {}