package fourslash_test import ( "testing" "efprojects.com/kitten-ipc/kitcom/internal/tsgo/fourslash" "efprojects.com/kitten-ipc/kitcom/internal/tsgo/testutil" ) func TestFindReferencesDefinitionDisplayParts(t *testing.T) { t.Parallel() defer testutil.RecoverAndFail(t, "Panic on fourslash test") const content = `class Gre/*1*/eter { someFunction() { th/*2*/is; } } type Options = "opt/*3*/ion 1" | "option 2"; let myOption: Options = "option 1"; some/*4*/Label: break someLabel;` f := fourslash.NewFourslash(t, nil /*capabilities*/, content) f.VerifyBaselineFindAllReferences(t, "1", "2", "3", "4") }