]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/test-body-in-here-doc'
authorJunio C Hamano <gitster@pobox.com>
Wed, 17 Jul 2024 17:47:24 +0000 (10:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Jul 2024 17:47:25 +0000 (10:47 -0700)
The test framework learned to take the test body not as a single
string but as a here-document.

* jk/test-body-in-here-doc:
  t/.gitattributes: ignore whitespace in chainlint expect files
  t: convert some here-doc test bodies
  test-lib: allow test snippets as here-docs
  chainlint.pl: add tests for test body in heredoc
  chainlint.pl: recognize test bodies defined via heredoc
  chainlint.pl: check line numbers in expected output
  chainlint.pl: force CRLF conversion when opening input files
  chainlint.pl: do not spawn more threads than we have scripts
  chainlint.pl: only start threads if jobs > 1
  chainlint.pl: add test_expect_success call to test snippets

1  2 
t/README
t/test-lib-functions.sh

diff --cc t/README
Simple merge
Simple merge