summaryrefslogtreecommitdiff
path: root/sw/qa/python
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/python')
-rw-r--r--sw/qa/python/check_cross_references.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/sw/qa/python/check_cross_references.py b/sw/qa/python/check_cross_references.py
index de51d919c7c8..3c9319200ea7 100644
--- a/sw/qa/python/check_cross_references.py
+++ b/sw/qa/python/check_cross_references.py
@@ -89,15 +89,16 @@ class CheckCrossReferences(unittest.TestCase):
FieldResult1 = "*i*"
FieldResult2 = "+b+*i*"
FieldResult3 = "-1-+b+*i*"
- FieldResult4 = "1"
- FieldResult5 = "1"
- FieldResult6 = "A.1"
- FieldResult7 = "2(a)"
- FieldResult8 = "2(b)"
- FieldResult9 = "2"
- FieldResult10 = "1(a)"
+ FieldResult4 = "1."
+ FieldResult5 = "1."
+ FieldResult6 = "A.1."
+ FieldResult7 = " 2.(a)"
+ FieldResult8 = " 2.(b)"
+ FieldResult9 = " 2."
+ FieldResult10 = " 1.(a)"
FieldResult11 = "(b)"
FieldResult12 = "(a)"
+ FieldResult13 = " 1."
# variables for current field
xField = self.getNextField()
@@ -155,9 +156,9 @@ class CheckCrossReferences(unittest.TestCase):
xField = self.getNextField()
xProps = self.getFieldProps(xField)
- self.checkField(xField, xProps, NUMBER, FieldResult4)
- self.checkField(xField, xProps, NUMBER_NO_CONTEXT, FieldResult4)
- self.checkField(xField, xProps, NUMBER_FULL_CONTEXT, FieldResult4)
+ self.checkField(xField, xProps, NUMBER, FieldResult13)
+ self.checkField(xField, xProps, NUMBER_NO_CONTEXT, FieldResult13)
+ self.checkField(xField, xProps, NUMBER_FULL_CONTEXT, FieldResult13)
xField = self.getNextField()
xProps = self.getFieldProps(xField)