t: rename t2014-switch.sh to t2014-checkout-switch.sh
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 29 Mar 2019 10:38:57 +0000 (17:38 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 04:56:59 +0000 (13:56 +0900)
The old name does not really say that this is about 'checkout -b'. See
49d833dc07 (Revert "checkout branch: prime cache-tree fully" -
2009-05-12) for more information

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2014-checkout-switch.sh [new file with mode: 0755]
t/t2014-switch.sh [deleted file]
diff --git a/t/t2014-checkout-switch.sh b/t/t2014-checkout-switch.sh
new file mode 100755 (executable)
index 0000000..ccfb147
--- /dev/null
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+test_description='Peter MacMillan'
+. ./test-lib.sh
+
+test_expect_success setup '
+       echo Hello >file &&
+       git add file &&
+       test_tick &&
+       git commit -m V1 &&
+       echo Hello world >file &&
+       git add file &&
+       git checkout -b other
+'
+
+test_expect_success 'check all changes are staged' '
+       git diff --exit-code
+'
+
+test_expect_success 'second commit' '
+       git commit -m V2
+'
+
+test_expect_success 'check' '
+       git diff --cached --exit-code
+'
+
+test_done
diff --git a/t/t2014-switch.sh b/t/t2014-switch.sh
deleted file mode 100755 (executable)
index ccfb147..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-test_description='Peter MacMillan'
-. ./test-lib.sh
-
-test_expect_success setup '
-       echo Hello >file &&
-       git add file &&
-       test_tick &&
-       git commit -m V1 &&
-       echo Hello world >file &&
-       git add file &&
-       git checkout -b other
-'
-
-test_expect_success 'check all changes are staged' '
-       git diff --exit-code
-'
-
-test_expect_success 'second commit' '
-       git commit -m V2
-'
-
-test_expect_success 'check' '
-       git diff --cached --exit-code
-'
-
-test_done