@@ -436,7 +436,7 @@ let tooltipTests state =
436436 testSequenced
437437 <| testList
438438 " tooltip evaluation"
439- [ ftestList
439+ [ testList
440440 " tests"
441441 [ verifyDescription " language keywords"
442442 0 u
@@ -523,8 +523,8 @@ let tooltipTests state =
523523 13 u
524524 ( concatLines
525525 [ " val inline add:"
526- " x: 'a (requires static member ( + ) ) ->"
527- " y: 'b (requires static member ( + ) )"
526+ " x: 'a (requires static member ( + )) ->"
527+ " y: 'b (requires static member ( + ))"
528528 " -> 'c" ])
529529 //verify rendering of solved generic constraints in tooltips for members where they are solved
530530 verifyDescription " solved generic parameters are called out in tooltip"
@@ -548,15 +548,9 @@ let tooltipTests state =
548548 60 u
549549 7 u
550550 ( concatLines
551- #if NET8_ 0
552- [ " active pattern Value: "
553- " input: Expr"
554- " -> option<obj * System.Type>" ])
555- #else
556551 [ " active pattern Value: "
557552 " input: Expr"
558553 " -> option<objnull * System.Type>" ])
559- #endif
560554 verifySignature " generic constraint rendering for IWSAM"
561555 77 u
562556 5 u
@@ -570,7 +564,7 @@ let tooltipTests state =
570564 25 u
571565 ( concatLines [
572566 " static member GetAwaiter:"
573- " awaitable: 'Awaitable (requires member GetAwaiter )"
567+ " awaitable: 'Awaitable (requires member GetAwaiter)"
574568 " -> Awaiter<^Awaiter,'TResult> (requires :> ICriticalNotifyCompletion and member IsCompleted and member GetResult)"
575569 ])
576570 verifySignature " basic active pattern"
@@ -584,47 +578,41 @@ let tooltipTests state =
584578 70 u
585579 7 u
586580 ( concatLines
587- #if NET8_ 0
588- [ " active pattern ValueWithName: "
589- " input: Expr"
590- " -> option<obj * System.Type * string>" ])
591- #else
592581 [ " active pattern ValueWithName: "
593582 " input: Expr"
594583 " -> option<objnull * System.Type * string>" ])
595- #endif
596584 verifySignature " interface with members with and without parameter names"
597585 96 u
598586 7 u
599587 ( concatLines
600588 [ " interface IWithAndWithoutParamNames"
601589 " abstract member WithParamNames: arg1: int * arg2: float -> string"
602590 " abstract member WithoutParamNames: int * string -> int" ])
603- verifySignature " function with unsolved nullable parameter" 100 u 7 u ( concatLines [
591+ verifySignature " function with unsolved nullable parameter" 102 u 7 u ( concatLines [
604592 " val usesNullable:"
605- " x: 't | null"
606- " -> 't (requires reference )"
593+ " x: 't | null"
594+ " -> 't (requires reference)"
607595 ])
608596
609- verifySignature " function with concrete nullable parameter" 101 u 7 u ( concatLines [
597+ verifySignature " function with concrete nullable parameter" 103 u 7 u ( concatLines [
610598 " val usesConcreteNullable:"
611599 " x: string | null"
612- " -> String (requires reference ) "
600+ " -> String"
613601 ])
614- verifySignature " function with generic nullable return" 102 u 7 u ( concatLines [
602+ verifySignature " function with generic nullable return" 104 u 7 u ( concatLines [
615603 " val makesNullable:"
616- " x: 'x (requires reference) "
617- " -> 'x | null"
604+ " x: 'x"
605+ " -> 'x | null (requires reference) "
618606 ])
619- verifySignature " function with concrete nullable return" 103 u 7 u ( concatLines [
607+ verifySignature " function with concrete nullable return" 105 u 7 u ( concatLines [
620608 " val makesConcreteNullable:"
621609 " x: string"
622610 " -> string | null"
623611 ])
624- verifySignature " function with nullable return from BCL call" 104 u 7 u ( concatLines [
612+ verifySignature " function with nullable return from BCL call" 106 u 7 u ( concatLines [
625613 " val usesBCLNullable:"
626614 " key: string"
627- " -> string | null"
615+ " -> string | null"
628616 ])] ]
629617
630618let closeTests state =
0 commit comments