summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/docx/table_captions_no_field.native5
-rw-r--r--test/docx/table_captions_with_field.native8
2 files changed, 6 insertions, 7 deletions
diff --git a/test/docx/table_captions_no_field.native b/test/docx/table_captions_no_field.native
index b8f54d541..c6fb3d566 100644
--- a/test/docx/table_captions_no_field.native
+++ b/test/docx/table_captions_no_field.native
@@ -1,7 +1,6 @@
[Para [Str "See",Space,Str "Table",Space,Str "5.1."]
-,Para [Str "Table",Space,Str "5.1"]
-,Table ("",[],[]) (Caption Nothing
- [])
+,Table ("",[],[])
+ (Caption Nothing [ Para [ Str "Table" , Space , Str "5.1" ] ])
[(AlignDefault,ColWidth 0.7605739372523825)
,(AlignDefault,ColWidth 0.11971303137380876)
,(AlignDefault,ColWidth 0.11971303137380876)]
diff --git a/test/docx/table_captions_with_field.native b/test/docx/table_captions_with_field.native
index 4f81ce477..034651850 100644
--- a/test/docx/table_captions_with_field.native
+++ b/test/docx/table_captions_with_field.native
@@ -1,6 +1,6 @@
[Para [Str "See",Space,Str "Table",Space,Str "1."]
-,Para [Str "Table",Space,Str "1"]
-,Table ("",[],[]) (Caption Nothing [])
+,Table ("",[],[])
+ (Caption Nothing [ Para [ Str "Table" , Space , Str "1" ] ])
[(AlignDefault,ColWidth 0.7605739372523825)
,(AlignDefault,ColWidth 0.11971303137380876)
,(AlignDefault,ColWidth 0.11971303137380876)]
@@ -31,7 +31,8 @@
(TableFoot ("",[],[])
[])
,Header 2 ("section", [], []) []
-,Table ("",[],[]) (Caption Nothing [])
+,Table ("",[],[])
+ (Caption Nothing [Para [Str "Table", Space, Str "2"]])
[(AlignDefault,ColWidth 0.3332963620230701)
,(AlignDefault,ColWidth 0.3332963620230701)
,(AlignDefault,ColWidth 0.3334072759538598)]
@@ -48,5 +49,4 @@
[])]
(TableFoot ("",[],[])
[])
-,Para [Str "Table",Space,Str "2"]
,Para [Str "See",Space,Str "Table",Space,Str "2."]]