Add option to disable markup in tests
thinker227 opened this issue · 2 comments
thinker227 commented
In the markup syntax used for tests, $$
is a special reserved character. However, in C# 10+, $$
can now occur in regular C# source code (raw string literals with one level of interpolation escaping). This makes it impossible to run tests containing $$
naturally in the source code without overriding AnalyzerTest<TVerifier>.RunImplAsync
to explicitly not call WithProcessedMarkup
.
It would be useful if there either was an easily available option to disable markup entirely or there was some sort of markup escape character.
Youssef1313 commented
thinker227 commented
Oh, didn't know those existed.