Surface addtextextension
setting in TemplateVerifierOptions
#5785
Labels
area: authoring tools
Related to authoring tools
good first issue
easy issue, good for first-time contribution to the repo
Priority:3
Work that is nice to have
triaged
The issue was evaluated by the triage team, placed on correct area, next action defined.
Milestone
Is your feature request related to a problem? Please describe.
TemplateVerifier
performs binary stream comparison of files with unrecognized or no extensions. Textual comparison is preferable in cases where content is text (due to normalization of newlines, byte order marks, etc.)Describe the solution you'd like.
There is an option in
Verify
to tag file extension as textual: https:/VerifyTests/EmptyFiles#addtextextension, the content verification then will work as on text (same as for well recognized textual extensions)This should be surfaced via
TemplateVerifierOptions
(e.g. asAdditionalTextExtensions
) and then passed to Verify.Additionally the special case
noextension
extension should be allways implicitly addedThe text was updated successfully, but these errors were encountered: