Thread (14 messages) 14 messages, 3 authors, 2024-08-05
STALE717d
Revisions (3)
  1. v3 current
  2. v5 [diff vs current]
  3. v6 [diff vs current]

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

From: AbdAlRahman Gad <hidden>
Date: 2024-08-04 07:12:24

- 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
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help