File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -4193,6 +4193,38 @@ let%expect_test _ =
4193
4193
(paragraph (((f.ml (1 14) (1 17)) (word foo)))))))))))))
4194
4194
(warnings ())) |}]
4195
4195
4196
+ let with_shorthand_list_double_item =
4197
+ test "@deprecated - foo\n- bar";
4198
+ [%expect
4199
+ {|
4200
+ ((output
4201
+ (((f.ml (1 0) (2 5))
4202
+ (@deprecated
4203
+ ((f.ml (1 12) (2 5))
4204
+ (unordered light
4205
+ ((((f.ml (1 14) (1 17))
4206
+ (paragraph (((f.ml (1 14) (1 17)) (word foo))))))
4207
+ (((f.ml (2 2) (2 5)) (paragraph (((f.ml (2 2) (2 5)) (word bar)))))))))))))
4208
+ (warnings ())) |}]
4209
+
4210
+ let double_implicitely_ended =
4211
+ test "@deprecated - foo\n- bar\n\nNew paragraph";
4212
+ [%expect
4213
+ {|
4214
+ ((output
4215
+ (((f.ml (1 0) (2 5))
4216
+ (@deprecated
4217
+ ((f.ml (1 12) (2 5))
4218
+ (unordered light
4219
+ ((((f.ml (1 14) (1 17))
4220
+ (paragraph (((f.ml (1 14) (1 17)) (word foo))))))
4221
+ (((f.ml (2 2) (2 5)) (paragraph (((f.ml (2 2) (2 5)) (word bar)))))))))))
4222
+ ((f.ml (4 0) (4 13))
4223
+ (paragraph
4224
+ (((f.ml (4 0) (4 3)) (word New)) ((f.ml (4 3) (4 4)) space)
4225
+ ((f.ml (4 4) (4 13)) (word paragraph)))))))
4226
+ (warnings ())) |}]
4227
+
4196
4228
let with_shorthand_list_after_newline =
4197
4229
test "@deprecated\n- foo";
4198
4230
[%expect
You can’t perform that action at this time.
0 commit comments