36 lines
840 B
Go
36 lines
840 B
Go
// Code generated by convertFourslash; DO NOT EDIT.
|
|
// To modify this test, run "npm run makemanual jsdocLink3"
|
|
|
|
package fourslash_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/microsoft/typescript-go/internal/fourslash"
|
|
"github.com/microsoft/typescript-go/internal/testutil"
|
|
)
|
|
|
|
func TestJsdocLink3(t *testing.T) {
|
|
fourslash.SkipIfFailing(t)
|
|
t.Parallel()
|
|
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
|
const content = `// @Filename: /jsdocLink3.ts
|
|
export class C {
|
|
}
|
|
// @Filename: /module1.ts
|
|
import { C } from './jsdocLink3'
|
|
/**
|
|
* {@link C}
|
|
* @wat Makes a {@link C}. A default one.
|
|
* {@link C()}
|
|
* {@link C|postfix text}
|
|
* {@link unformatted postfix text}
|
|
* @see {@link C} its great
|
|
*/
|
|
function /**/CC() {
|
|
}`
|
|
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
|
defer done()
|
|
f.VerifyBaselineHover(t)
|
|
}
|