Skip to content

Commit f731488

Browse files
jrngitster
authored andcommitted
t4200 (rerere): modernize style
Guard all test code with test_expect_success to make the script easier to follow. While at it, pick some other nits: - use test_tick (more than we have to, to be realistic); - 'single quotes' and \escaped HERE documents where possible simplify review for escaping problems; - omit whitespace after >redirection operators for consistency with other tests; - use "update-index --refresh" instead of testing that "ls-files -u" output is empty, since the former produces nicer output on failure; - compare to expected nonempty "ls-files -u" output instead of counting lines when it is expected to be nonempty. Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 18b037a commit f731488

File tree

1 file changed

+180
-125
lines changed

1 file changed

+180
-125
lines changed

0 commit comments

Comments
 (0)