vendor tsgo
This commit is contained in:
32
tools/tsgo/internal/fourslash/tests/gen/jsdocLink1_test.go
Normal file
32
tools/tsgo/internal/fourslash/tests/gen/jsdocLink1_test.go
Normal file
@@ -0,0 +1,32 @@
|
||||
// Code generated by convertFourslash; DO NOT EDIT.
|
||||
// To modify this test, run "npm run makemanual jsdocLink1"
|
||||
|
||||
package fourslash_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/microsoft/typescript-go/internal/fourslash"
|
||||
"github.com/microsoft/typescript-go/internal/testutil"
|
||||
)
|
||||
|
||||
func TestJsdocLink1(t *testing.T) {
|
||||
fourslash.SkipIfFailing(t)
|
||||
t.Parallel()
|
||||
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
||||
const content = `class C {
|
||||
}
|
||||
/**
|
||||
* {@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)
|
||||
}
|
||||
Reference in New Issue
Block a user