25 lines
736 B
Go
25 lines
736 B
Go
// Code generated by convertFourslash; DO NOT EDIT.
|
|
// To modify this test, run "npm run makemanual quickInfoDisplayPartsArrowFunctionExpression"
|
|
|
|
package fourslash_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/microsoft/typescript-go/internal/fourslash"
|
|
"github.com/microsoft/typescript-go/internal/testutil"
|
|
)
|
|
|
|
func TestQuickInfoDisplayPartsArrowFunctionExpression(t *testing.T) {
|
|
fourslash.SkipIfFailing(t)
|
|
t.Parallel()
|
|
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
|
const content = `var /*1*/x = /*5*/a => 10;
|
|
var /*2*/y = (/*6*/a, /*7*/b) => 10;
|
|
var /*3*/z = (/*8*/a: number) => 10;
|
|
var /*4*/z2 = () => 10;`
|
|
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
|
defer done()
|
|
f.VerifyBaselineHover(t)
|
|
}
|