39 lines
828 B
Go
39 lines
828 B
Go
// Code generated by convertFourslash; DO NOT EDIT.
|
|
// To modify this test, run "npm run makemanual quickInfoForJSDocCodefence"
|
|
|
|
package fourslash_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/microsoft/typescript-go/internal/fourslash"
|
|
"github.com/microsoft/typescript-go/internal/testutil"
|
|
)
|
|
|
|
func TestQuickInfoForJSDocCodefence(t *testing.T) {
|
|
fourslash.SkipIfFailing(t)
|
|
t.Parallel()
|
|
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
|
const content = `/**
|
|
* @example
|
|
* ` + "`" + `` + "`" + `` + "`" + `
|
|
* 1 + 2
|
|
* ` + "`" + `` + "`" + `` + "`" + `
|
|
*/
|
|
function fo/*1*/o() {
|
|
return '2';
|
|
}
|
|
/**
|
|
* @example
|
|
* ` + "`" + `` + "`" + `
|
|
* 1 + 2
|
|
* ` + "`" + `
|
|
*/
|
|
function bo/*2*/o() {
|
|
return '2';
|
|
}`
|
|
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
|
defer done()
|
|
f.VerifyBaselineHover(t)
|
|
}
|