@@ -37,7 +37,7 @@ let%expect_test _ =
37
37
{|
38
38
((output
39
39
(((f.ml (1 0 ) (1 17 ))
40
- (table (syntax heavy) (header ((cell () ))) (data () ) (align (none ))))))
40
+ (table (syntax heavy) (header ((cell () ))) (data () ) (align (center ))))))
41
41
(warnings () )) | }]
42
42
43
43
let multiple_headers =
@@ -47,7 +47,7 @@ let%expect_test _ =
47
47
((output
48
48
(((f.ml (1 0 ) (1 37 ))
49
49
(table (syntax heavy) (header ((cell () )))
50
- (data ((row ((cell () ))) (row ((cell () ))))) (align (none ))))))
50
+ (data ((row ((cell () ))) (row ((cell () ))))) (align (center ))))))
51
51
(warnings () )) | }]
52
52
53
53
let complex_table =
@@ -129,8 +129,8 @@ let%expect_test _ =
129
129
((cell (((f.ml (24 17 ) (24 18 )) (word 1 ))))
130
130
(cell (((f.ml (24 21 ) (24 22 )) (word 2 ))))
131
131
(cell (((f.ml (24 25 ) (24 26 )) (word 3 ))))))))
132
- (align (none none none ))))))))))
133
- (align (none none ))))))
132
+ (align (center center center ))))))))))
133
+ (align (center center ))))))
134
134
(warnings () )) | }]
135
135
136
136
let align =
@@ -243,7 +243,7 @@ let%expect_test _ =
243
243
((row
244
244
((cell (((f.ml (4 9 ) (4 10 )) (word x))))
245
245
(cell (((f.ml (4 13 ) (4 14 )) (word y))))))))
246
- (align (none none ))))))
246
+ (align (center center ))))))
247
247
(warnings () )) | }]
248
248
249
249
let no_align =
@@ -278,7 +278,7 @@ let%expect_test _ =
278
278
{|
279
279
((output
280
280
(((f.ml (2 6 ) (4 7 ))
281
- (table (syntax light) (header () ) (data () ) (align (none none ))))))
281
+ (table (syntax light) (header () ) (data () ) (align (center center ))))))
282
282
(warnings () )) | }]
283
283
284
284
let no_data =
@@ -296,7 +296,7 @@ let%expect_test _ =
296
296
(header
297
297
((cell (((f.ml (3 9 ) (3 10 )) (word x))))
298
298
(cell (((f.ml (3 13 ) (3 14 )) (word y))))))
299
- (data () ) (align (none none ))))))
299
+ (data () ) (align (center center ))))))
300
300
(warnings () )) | }]
301
301
302
302
let alignment =
@@ -317,7 +317,7 @@ let%expect_test _ =
317
317
(cell (((f.ml (3 13 ) (3 14 )) (word b))))
318
318
(cell (((f.ml (3 17 ) (3 18 )) (word c))))
319
319
(cell (((f.ml (3 21 ) (3 22 )) (word d))))))
320
- (data () ) (align (none left right center))))))
320
+ (data () ) (align (center left right center))))))
321
321
(warnings () )) | }]
322
322
323
323
let no_bars =
@@ -345,7 +345,7 @@ let%expect_test _ =
345
345
(cell (((f.ml (5 12 ) (5 13 )) (word b))))
346
346
(cell (((f.ml (5 16 ) (5 17 )) (word c))))
347
347
(cell (((f.ml (5 20 ) (5 21 )) (word d))))))))
348
- (align (none left right center))))))
348
+ (align (center left right center))))))
349
349
(warnings () )) | }]
350
350
351
351
let light_table_new_lines =
@@ -377,7 +377,7 @@ let%expect_test _ =
377
377
(cell (((f.ml (8 13 ) (8 14 )) (word b))))
378
378
(cell (((f.ml (8 17 ) (8 18 )) (word c))))
379
379
(cell (((f.ml (8 21 ) (8 22 )) (word d))))))))
380
- (align (none none none none ))))))
380
+ (align (center center center center ))))))
381
381
(warnings () )) | }]
382
382
383
383
let light_table_markup =
@@ -406,7 +406,7 @@ let%expect_test _ =
406
406
(cell
407
407
(((f.ml (3 60 ) (3 65 )) (bold (((f.ml (3 63 ) (3 64 )) (word d)))))
408
408
((f.ml (3 66 ) (3 71 )) (code_span foo))))))
409
- (data () ) (align (none none none none ))))))
409
+ (data () ) (align (center center center center ))))))
410
410
(warnings () )) | }]
411
411
412
412
let no_space =
@@ -427,7 +427,7 @@ let%expect_test _ =
427
427
(cell (((f.ml (3 15 ) (3 16 )) (word b))))
428
428
(cell (((f.ml (3 18 ) (3 19 )) (word c))))
429
429
(cell (((f.ml (3 21 ) (3 22 )) (word d))))))
430
- (data () ) (align (none right left center))))))
430
+ (data () ) (align (center right left center))))))
431
431
(warnings () )) | }]
432
432
433
433
let multiple_headers =
@@ -484,7 +484,7 @@ let%expect_test _ =
484
484
(((f.ml (2 11 ) (5 12 ))
485
485
(table (syntax light)
486
486
(header ((cell () ) (cell (((f.ml (3 23 ) (3 24 )) (word b)))))) (data () )
487
- (align (none none ))))))
487
+ (align (center center ))))))
488
488
(warnings
489
489
( " File \" f.ml\" , line 3, characters 13-20:\
490
490
\n '{[...]}' (code block) is not allowed in '{t ...}' (table)." ))) | }]
@@ -506,7 +506,7 @@ let%expect_test _ =
506
506
(header
507
507
((cell (((f.ml (4 13 ) (4 14 )) (word a))))
508
508
(cell (((f.ml (4 17 ) (4 18 )) (word b))))))
509
- (data () ) (align (none none ))))))
509
+ (data () ) (align (center center ))))))
510
510
(warnings
511
511
( " File \" f.ml\" , line 3, characters 11-18:\
512
512
\n '{[...]}' (code block) is not allowed in '{t ...}' (table)." ))) | }]
0 commit comments