diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-10-31 02:34:44 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-09 14:48:06 -0800 |
commit | cae3aa79aaa62f414c38a44b3073767b1def3a6b (patch) | |
tree | 84fbaa5b9e9f6cbf8a2907bf26026b0e329af581 /t/t1502-rev-parse-parseopt.sh | |
parent | fb3340a6a7a956debcac92cd21cbcaea0928048e (diff) | |
download | git-cae3aa79aaa62f414c38a44b3073767b1def3a6b.tar.gz git-cae3aa79aaa62f414c38a44b3073767b1def3a6b.tar.xz |
t6022 (renaming merge): chain test commands with &&
Using 'return' in an attempt to end a test assertion can have
unpredictable results (probably escaping from test_run_ and breaking
its bookkeeping). Redo the control flow using helpers like
test_expect_code and git diff --exit-code, so each test assertion can
follow the usual form
command that should succeed &&
command that should succeed &&
command that should succeed &&
...
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1502-rev-parse-parseopt.sh')
0 files changed, 0 insertions, 0 deletions