Bug #24
closedcannot diff several numbers from the same line
100%
Description
when a part of a line is interpreted as a number, the
rest of the line is expected to be a constant string.
when one defines a diffnumber, the tolerance is applied
to the number, but the rest of the line must be
identical between the log file and the ref file.
so, when you have lines with several numbers and you want to
compare them all... if one of the numbers differs, it will make fail the comparison of other numbers.
Updated by Chamont David about 16 years ago
- % Done changed from 0 to 100
When a part of a line is interpreted as a number, the rest of the line is NOT ANY MORE expected to be a constant string. If one want to enforce that an area of the line never change, he must add another tag diffline, with parenthesis around this area.
This way, if one expect a set of lines with a fix part, a first number, and a second number, he must declare a tag diffline and two tags diffnumbers, each one with its parenthesis around the corresponding part of the line.