Skip to content

Commit 5c70193

Browse files
committed
Merge branch 'gabritto/fourslash-rename' of https://github.com/microsoft/typescript-go into gabritto/fourslash-rename
2 parents 75efe46 + 66af090 commit 5c70193

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/fourslash/fourslash.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import (
1919
"github.com/microsoft/typescript-go/internal/lsp"
2020
"github.com/microsoft/typescript-go/internal/lsp/lsproto"
2121
"github.com/microsoft/typescript-go/internal/project"
22+
"github.com/microsoft/typescript-go/internal/repo"
2223
"github.com/microsoft/typescript-go/internal/testutil/baseline"
2324
"github.com/microsoft/typescript-go/internal/testutil/harnessutil"
2425
"github.com/microsoft/typescript-go/internal/tspath"
@@ -121,6 +122,7 @@ var parseCache = project.ParseCache{
121122
}
122123

123124
func NewFourslash(t *testing.T, capabilities *lsproto.ClientCapabilities, content string) *FourslashTest {
125+
repo.SkipIfNoTypeScriptSubmodule(t)
124126
if !bundled.Embedded {
125127
// Without embedding, we'd need to read all of the lib files out from disk into the MapFS.
126128
// Just skip this for now.

0 commit comments

Comments
 (0)