mbox series

[v3,0/6,Newcomer] t7004: modernize the style

Message ID 20240804071137.30326-1-abdobngad@gmail.com (mailing list archive)
Headers show
Series t7004: modernize the style | expand

Message

AbdAlRahman Gad Aug. 4, 2024, 7:11 a.m. UTC
- remove whitespace after the redirect operators.

- move number of expect files prepared outside of
  test_expect_success to be inside the tests that use it.

- split some lines that have two commands into two lines
  one command each.

- turn some "<<\EOF" into "<<-\EOF" and indent their body.

- avoid using pipes in the output from "test-tool ref-store"
  and write the output to a file.

- change test_expect_success that are seperated from its name
  to be on the same line.


AbdAlRahman Gad (6):
  [Newcomer] t7004-tag: redirection operator
  [Newcomer] t7004-tag: do not lose exit status to pipe
  [Newcomer] t7004-tag: one command per line
  [Newcomer] t7004-tag: do not prepare except outside
    test_expect_success
  [Newcomer] t7004-tag: here-doc modernization
  [Newcomer] t7004-tag: description on the same line as
    test_expect_success

 t/t7004-tag.sh | 584 +++++++++++++++++++++++--------------------------
 1 file changed, 274 insertions(+), 310 deletions(-)


base-commit: 406f326d271e0bacecdb00425422c5fa3f314930