vendor tsgo
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
// Code generated by convertFourslash; DO NOT EDIT.
|
||||
// To modify this test, run "npm run makemanual getOutliningSpansForRegionsNoSingleLineFolds"
|
||||
|
||||
package fourslash_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/microsoft/typescript-go/internal/fourslash"
|
||||
"github.com/microsoft/typescript-go/internal/testutil"
|
||||
)
|
||||
|
||||
func TestGetOutliningSpansForRegionsNoSingleLineFolds(t *testing.T) {
|
||||
fourslash.SkipIfFailing(t)
|
||||
t.Parallel()
|
||||
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
||||
const content = `// @lib: es5
|
||||
[|//#region
|
||||
function foo()[| {
|
||||
|
||||
}|]
|
||||
[|//these
|
||||
//should|]
|
||||
//#endregion not you|]
|
||||
[|// be
|
||||
// together|]
|
||||
|
||||
[|//#region bla bla bla
|
||||
|
||||
function bar()[| { }|]
|
||||
|
||||
//#endregion|]`
|
||||
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
||||
defer done()
|
||||
f.MarkTestAsStradaServer()
|
||||
f.VerifyOutliningSpans(t)
|
||||
}
|
||||
Reference in New Issue
Block a user