I am writing a bdd test using cucumber but i have a problem in reading a line for an assert. it doesn't read the tabulations at the beginning of the expected line in my feature file
here is my assert:
lines.forEachIndexed { i, _ -> assertEquals(expectedLines[i], lines[i]) }
here is the line causing error in my feature file (expectedlines):
| 335374655.87 Files to be generated compliant with SLA figures 0 |
and here is the error:
org.junit.ComparisonFailure:
Expected :335374655.87 Files to be generated compliant with SLA figures 0
Actual : 335374655.87 Files to be generated compliant with SLA figures 0
any help please?