test-lib: do not remove trash_directory if called with --debug
[gitweb.git] / t / t3200-branch.sh
index 7c583c8055627d6f3c4a18bcce9c04005e0514d5..7a83fbfe4f6b47dc5dbaa3df59c8633ae5c2c8f8 100755 (executable)
@@ -200,7 +200,7 @@ test_expect_success \
 
 test_expect_success \
     'branch from non-branch HEAD w/--track causes failure' \
-    '!(git branch --track my10 HEAD^)'
+    'test_must_fail git branch --track my10 HEAD^'
 
 # Keep this test last, as it changes the current branch
 cat >expect <<EOF