diff options
| author | John MacFarlane <[email protected]> | 2025-05-20 10:18:32 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-05-20 10:18:32 -0700 |
| commit | f1e64ee0be2dceaa8947f89221f4d2bdf0d0e673 (patch) | |
| tree | 5bb9d5e6d35edb14f3708bff6bfe9cb94cf7e62e /test | |
| parent | 97b7d483339acfc25e900d17bbba40ef7a440349 (diff) | |
RST writer: don't emit alignment markers in grid tables.
Closes #10857.
Diffstat (limited to 'test')
| -rw-r--r-- | test/tables-rstsubset.native | 16 | ||||
| -rw-r--r-- | test/tables.rst | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/test/tables-rstsubset.native b/test/tables-rstsubset.native index 7e63f2f20..d9fd4342a 100644 --- a/test/tables-rstsubset.native +++ b/test/tables-rstsubset.native @@ -462,10 +462,10 @@ , Str "lines." ] ]) - [ ( AlignCenter , ColWidth 0.15 ) - , ( AlignLeft , ColWidth 0.1375 ) - , ( AlignRight , ColWidth 0.1625 ) - , ( AlignLeft , ColWidth 0.35 ) + [ ( AlignDefault , ColWidth 0.15 ) + , ( AlignDefault , ColWidth 0.1375 ) + , ( AlignDefault , ColWidth 0.1625 ) + , ( AlignDefault , ColWidth 0.35 ) ] (TableHead ( "" , [] , [] ) @@ -606,10 +606,10 @@ , Table ( "" , [] , [] ) (Caption Nothing []) - [ ( AlignCenter , ColWidth 0.15 ) - , ( AlignLeft , ColWidth 0.1375 ) - , ( AlignRight , ColWidth 0.1625 ) - , ( AlignLeft , ColWidth 0.35 ) + [ ( AlignDefault , ColWidth 0.15 ) + , ( AlignDefault , ColWidth 0.1375 ) + , ( AlignDefault , ColWidth 0.1625 ) + , ( AlignDefault , ColWidth 0.35 ) ] (TableHead ( "" , [] , [] ) diff --git a/test/tables.rst b/test/tables.rst index 8776c2df9..4b475c0b6 100644 --- a/test/tables.rst +++ b/test/tables.rst @@ -39,7 +39,7 @@ Multiline table with caption: +-----------+----------+------------+---------------------------+ | Centered | Left | Right | Default aligned | | Header | Aligned | Aligned | | - +:=========:+:=========+===========:+:==========================+ + +===========+==========+============+===========================+ | First | row | 12.0 | Example of a row that | | | | | spans multiple lines. | +-----------+----------+------------+---------------------------+ @@ -53,7 +53,7 @@ Multiline table without caption: +-----------+----------+------------+---------------------------+ | Centered | Left | Right | Default aligned | | Header | Aligned | Aligned | | -+:=========:+:=========+===========:+:==========================+ ++===========+==========+============+===========================+ | First | row | 12.0 | Example of a row that | | | | | spans multiple lines. | +-----------+----------+------------+---------------------------+ |
