NewLines normalization before or after custom scrubbers? #710
Closed
JanKrivanek
started this conversation in
General
Replies: 2 comments
-
i think it is reasonable that newlines are normalized after scrubbers. but i cant seem to reproduce the problem i added some more tests 312e237 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Makes sense. It was just an issues in our legacy code that was using custom scrubber that expected the newlines to be already normlized - and hence it got broken by this change. This is fixed on our side already. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to see if this was intention or not.
Currently the new lines normalization is being done after the custom scrubbers are invoked:
Verify/src/Verify/Serialization/Scrubbers/ApplyScrubbers.cs
Line 139 in f5af3cd
It used to be applied before:
Verify/src/Verify/Verifier/InnerVerifier_Inner.cs
Line 68 in a2540cb
We made our code less dependent on this behavior (which is good idea anyways) - so I'm just being curious.
Beta Was this translation helpful? Give feedback.
All reactions