You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Symptom: in Snapshot#toMatchSnapshotrawSnapshot contains lines separated by \n, while in currentObject lines are separated by \r\n.
This generates a failure with every line being different by just the \r symbol.
Root cause: SnapshotFile constructor uses hardcoded \n (line 33)
Possible workaround: use com.fasterxml.jackson.core.util.DefaultIndenter.SYS_LF instead (both there and in SPLIT_STRING).
The text was updated successfully, but these errors were encountered:
Preconditions:
Steps:
Expected: test passess
Actual: test fails
Symptom: in
Snapshot#toMatchSnapshot
rawSnapshot
contains lines separated by\n
, while incurrentObject
lines are separated by\r\n
.This generates a failure with every line being different by just the
\r
symbol.Root cause:
SnapshotFile
constructor uses hardcoded\n
(line 33)Possible workaround: use
com.fasterxml.jackson.core.util.DefaultIndenter.SYS_LF
instead (both there and inSPLIT_STRING
).The text was updated successfully, but these errors were encountered: