vendor tsgo
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
// Code generated by convertFourslash; DO NOT EDIT.
|
||||
// To modify this test, run "npm run makemanual noQuickInfoInWhitespace"
|
||||
|
||||
package fourslash_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/microsoft/typescript-go/internal/fourslash"
|
||||
"github.com/microsoft/typescript-go/internal/testutil"
|
||||
)
|
||||
|
||||
func TestNoQuickInfoInWhitespace(t *testing.T) {
|
||||
fourslash.SkipIfFailing(t)
|
||||
t.Parallel()
|
||||
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
||||
const content = `class C {
|
||||
/*1*/ private _mspointerupHandler(args) {
|
||||
if (args.button === 3) {
|
||||
return null;
|
||||
/*2*/ } else if (args.button === 4) {
|
||||
/*3*/ return null;
|
||||
}
|
||||
}
|
||||
}`
|
||||
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
||||
defer done()
|
||||
f.GoToMarker(t, "1")
|
||||
f.VerifyNotQuickInfoExists(t)
|
||||
f.GoToMarker(t, "2")
|
||||
f.VerifyNotQuickInfoExists(t)
|
||||
f.GoToMarker(t, "3")
|
||||
f.VerifyNotQuickInfoExists(t)
|
||||
}
|
||||
Reference in New Issue
Block a user