Closed froy001 closed 1 year ago
Could you check there's no extra \n at the end of the message ? cf discussion in https://github.com/quintush/helm-unittest/pull/155
Hello @froy001,
Due to formatting the expected value seems to be equal to the actual value. I have added an option --debug (-d) which should show the content without the formatting, showing the actual difference. https://github.com/quintush/helm-unittest/blob/master/FAQ.md#debugging, describes the usage.
As for the above issue. When using the multi-line string (|), the text will always end with a line-ending (\n), resulting in a mismatch. The actual error will result in a single line string.
I have a failedTempate assertion:
I get the following assertion failure:
As can be seen the expected and the actual values are exactly the same. This could be related to #174