Skip to content

Commit

Permalink
tests: git: no CRLF substitutions are allowed
Browse files Browse the repository at this point in the history
The `utest_parser_xml` and `utest_parser_json` check for some verbatim
string literals from these on-disk YANG models, so make sure these are
kept as-is by git. The standard says that these should not be
normalized, and that whatever is in these multiline string literals is
what should really be part of the resulting attribute.
  • Loading branch information
jktjkt authored and michalvasko committed Jul 14, 2022
1 parent d31adc1 commit 6c21306
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# the tests check that LF is kept as a LF in the checkout
tests/modules/yang/ietf-netconf@*.yang -text
tests/modules/yang/ietf-netconf-nmda@*.yang -text

0 comments on commit 6c21306

Please sign in to comment.