t9100-git-svn-basic: modernize test format
Some tests still use the old format with four spaces indentation. Standardize the tests to the new format with tab indentation. Signed-off-by: John Cai <johncai86@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
John Cai committed
May 20, 2023 at 16:13 UTC
be1fce6dae6d25e36de8e920a3b1386b149b758f
1 file changed
+15
-16
t/t9100-git-svn-basic.sh
+15
-16
@@ -21,7 +21,7 @@ test_expect_success 'git svn help works anywhere' '
21
'
22
23
test_expect_success \
24
- 'initialize git svn' '
24
+ 'initialize git svn' '
25
mkdir import &&
26
(
27
cd import &&
@@ -38,9 +38,9 @@ test_expect_success \
38
rm -rf import &&
39
git svn init "$svnrepo"'
40
41
-test_expect_success \
42
- 'import an SVN revision into git' \
43
- 'git svn fetch'
41
+test_expect_success 'import an SVN revision into git' '
42
+ git svn fetch
43
+'
44
45
test_expect_success "checkout from svn" 'svn co "$svnrepo" "$SVN_TREE"'
46
@@ -233,27 +233,26 @@ test_expect_success POSIXPERM,SYMLINKS "$name" '
233
'
234
235
test_expect_success 'exit if remote refs are ambigious' '
236
- git config --add svn-remote.svn.fetch \
236
+ git config --add svn-remote.svn.fetch \
237
bar:refs/remotes/git-svn &&
238
test_must_fail git svn migrate
239
'
240
241
test_expect_success 'exit if init-ing a would clobber a URL' '
242
- svnadmin create "${PWD}/svnrepo2" &&
243
- svn mkdir -m "mkdir bar" "${svnrepo}2/bar" &&
244
- git config --unset svn-remote.svn.fetch \
242
+ svnadmin create "${PWD}/svnrepo2" &&
243
+ svn mkdir -m "mkdir bar" "${svnrepo}2/bar" &&
244
+ git config --unset svn-remote.svn.fetch \
245
"^bar:refs/remotes/git-svn$" &&
246
test_must_fail git svn init "${svnrepo}2/bar"
247
'
248
249
-test_expect_success \
250
- 'init allows us to connect to another directory in the same repo' '
251
- git svn init --minimize-url -i bar "$svnrepo/bar" &&
252
- git config --get svn-remote.svn.fetch \
253
- "^bar:refs/remotes/bar$" &&
254
- git config --get svn-remote.svn.fetch \
255
- "^:refs/remotes/git-svn$"
256
- '
249
+test_expect_success 'init allows us to connect to another directory in the same repo' '
250
+ git svn init --minimize-url -i bar "$svnrepo/bar" &&
251
+ git config --get svn-remote.svn.fetch \
252
+ "^bar:refs/remotes/bar$" &&
253
+ git config --get svn-remote.svn.fetch \
254
+ "^:refs/remotes/git-svn$"
255
+'
256
257
test_expect_success 'dcommit $rev does not clobber current branch' '
258
git svn fetch -i bar &&