26 lines
728 B
Go
26 lines
728 B
Go
// Code generated by convertFourslash; DO NOT EDIT.
|
|
// To modify this test, run "npm run makemanual codeFixSpelling5"
|
|
|
|
package fourslash_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/microsoft/typescript-go/internal/fourslash"
|
|
"github.com/microsoft/typescript-go/internal/testutil"
|
|
)
|
|
|
|
func TestCodeFixSpelling5(t *testing.T) {
|
|
fourslash.SkipIfFailing(t)
|
|
t.Parallel()
|
|
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
|
const content = `// @Filename: f1.ts
|
|
export const fooooooooo = 1;
|
|
// @Filename: f2.ts
|
|
import {[|fooooooooa|]} from "./f1"; fooooooooa;`
|
|
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
|
defer done()
|
|
f.GoToFile(t, "f2.ts")
|
|
f.VerifyRangeAfterCodeFix(t, `fooooooooo`, false, 0, 0)
|
|
}
|