vendor tsgo
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
// Code generated by convertFourslash; DO NOT EDIT.
|
||||
// To modify this test, run "npm run makemanual navbar_contains-no-duplicates"
|
||||
|
||||
package fourslash_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/microsoft/typescript-go/internal/fourslash"
|
||||
"github.com/microsoft/typescript-go/internal/testutil"
|
||||
)
|
||||
|
||||
func TestNavbar_contains_no_duplicates(t *testing.T) {
|
||||
fourslash.SkipIfFailing(t)
|
||||
t.Parallel()
|
||||
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
||||
const content = `declare namespace Windows {
|
||||
export namespace Foundation {
|
||||
export var A;
|
||||
export class Test {
|
||||
public wow();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
declare namespace Windows {
|
||||
export namespace Foundation {
|
||||
export var B;
|
||||
export namespace Test {
|
||||
export function Boom(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class ABC {
|
||||
public foo() {
|
||||
return 3;
|
||||
}
|
||||
}
|
||||
|
||||
namespace ABC {
|
||||
export var x = 3;
|
||||
}`
|
||||
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
||||
defer done()
|
||||
f.VerifyBaselineDocumentSymbol(t)
|
||||
}
|
||||
Reference in New Issue
Block a user