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