@@ -690,12 +690,15 @@ let tests : test_suite list =
690
690
] );
691
691
( " reference-component-kind" ,
692
692
[
693
+ t " no-kind-with-quotes" " {!\" foo\" .\" bar\" }" ;
693
694
t " no-kind" " {!foo}" ;
694
695
t " class" " {!class-foo}" ;
695
696
t " class-type" " {!class-type-foo}" ;
696
697
t " class-type-alt" " {!classtype-foo}" ;
697
698
t " constructor" " {!constructor-Foo}" ;
698
699
t " constructor-alt" " {!const-Foo}" ;
700
+ t " dash-in-page-name" " {!page-\" foo-bar\" }" ;
701
+ t " dot-and-dash-in-page-name" " {!page-\" foo-bar.v0.0.1\" }" ;
699
702
t " exception" " {!exception-Foo}" ;
700
703
t " exception-alt" " {!exn-Foo}" ;
701
704
t " extension" " {!extension-Foo}" ;
@@ -704,6 +707,7 @@ let tests : test_suite list =
704
707
t " heading" " {!section-foo}" ;
705
708
t " heading-alt" " {!label-foo}" ;
706
709
t " instance-variable" " {!instance-variable-foo}" ;
710
+ t " kind-with-quotes" " {!module-type-\" Bar\" .module-\" Moo\" .class-\" There\" }" ;
707
711
t " method" " {!method-foo}" ;
708
712
t " module" " {!module-Foo}" ;
709
713
t " module-type" " {!module-type-Foo}" ;
@@ -998,6 +1002,7 @@ let tests : test_suite list =
998
1002
t " canonical-empty-name" " @canonical Foo." ;
999
1003
t " internal-whitespace" " {!foo. bar .baz}" ;
1000
1004
t " replacement-text-empty-identifier" " {{!val-} foo}" ;
1005
+ t " reference-with-unmatched-quotation" " {!\"\" foo\" }" ;
1001
1006
] );
1002
1007
( " bad-markup" ,
1003
1008
[
0 commit comments