Files
kjol/tools/tsgo/internal/fourslash/tests/gen/smartSelection_simple1_test.go
2026-07-09 16:50:43 -04:00

29 lines
691 B
Go

// Code generated by convertFourslash; DO NOT EDIT.
// To modify this test, run "npm run makemanual smartSelection_simple1"
package fourslash_test
import (
"testing"
"github.com/microsoft/typescript-go/internal/fourslash"
"github.com/microsoft/typescript-go/internal/testutil"
)
func TestSmartSelection_simple1(t *testing.T) {
fourslash.SkipIfFailing(t)
t.Parallel()
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
const content = `class Foo {
bar(a, b) {
if (/*1*/a === b) {
return tr/*2*/ue;
}
return false;
}
}`
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
defer done()
f.VerifyBaselineSelectionRanges(t)
}