// Code generated by convertFourslash; DO NOT EDIT. // To modify this test, run "npm run makemanual referencesForStringLiteralPropertyNames3" package fourslash_test import ( "testing" "github.com/microsoft/typescript-go/internal/fourslash" "github.com/microsoft/typescript-go/internal/testutil" ) func TestReferencesForStringLiteralPropertyNames3(t *testing.T) { fourslash.SkipIfFailing(t) t.Parallel() defer testutil.RecoverAndFail(t, "Panic on fourslash test") const content = `class Foo2 { /*1*/get "/*2*/42"() { return 0; } /*3*/set /*4*/42(n) { } } var y: Foo2; y[/*5*/42];` f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content) defer done() f.VerifyBaselineFindAllReferences(t, "1", "2", "3", "4", "5") }