author | Jonathan Nieder <jrnieder@gmail.com> | |
Fri, 27 May 2011 09:28:46 +0000 (04:28 -0500) | ||
committer | Jonathan Nieder <jrnieder@gmail.com> | |
Wed, 15 Jun 2011 07:13:48 +0000 (02:13 -0500) | ||
commit | b747e5675db5e26292c942146a25e1c26440c5f7 | |
tree | daeabe224170f7d9b0af2d1eff32fec2acd4fb45 | tree | snapshot |
parent | c846e4107876936bed7177a811559bd74a72dcd8 | commit | diff |
test-svn-fe: split off "test-svn-fe -d" into a separate function
The helper for testing the svndiff library is getting dangerously
close to the right margin. Split it off into a separate function so
it is easier to contemplate on its own.
In the process, make the test_svnfe_usage[] string static so it can be
shared by the two functions (and other future functions in this test
program) without fuss.
In other words, this just unindents the code a little. No functional
change intended.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
The helper for testing the svndiff library is getting dangerously
close to the right margin. Split it off into a separate function so
it is easier to contemplate on its own.
In the process, make the test_svnfe_usage[] string static so it can be
shared by the two functions (and other future functions in this test
program) without fuss.
In other words, this just unindents the code a little. No functional
change intended.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
test-svn-fe.c | diff | blob | history |