File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
vsintegration/tests/UnitTests Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ module Test =
444444 ()
445445
446446[<Test>]
447- let ``Automation.LetBindings.InsideType`` () =
447+ let ``Automation.LetBindings.InsideType.Instance `` () =
448448 let code = """
449449namespace FsTest
450450
@@ -459,3 +459,20 @@ module Test =
459459
460460 StringAssert.StartsWith( expectedSignature, tooltip)
461461 ()
462+
463+ [<Test>]
464+ let ``Automation.LetBindings.InsideType.Static`` () =
465+ let code = """
466+ namespace FsTest
467+
468+ module Test =
469+ type T() =
470+ static let fu$$nc x = ()
471+ """
472+
473+ let expectedSignature = " val func: x: 'a -> unit"
474+
475+ let tooltip = GetQuickInfoTextFromCode code
476+
477+ StringAssert.StartsWith( expectedSignature, tooltip)
478+ ()
You can’t perform that action at this time.
0 commit comments