Skip to content

Commit a0fe6e6

Browse files
pcloudsgitster
authored andcommitted
t/helper: keep test-tool command list sorted
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1d4361b commit a0fe6e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,8 +729,8 @@ TEST_BUILTINS_OBJS += test-repository.o
729729
TEST_BUILTINS_OBJS += test-revision-walking.o
730730
TEST_BUILTINS_OBJS += test-run-command.o
731731
TEST_BUILTINS_OBJS += test-scrap-cache-tree.o
732-
TEST_BUILTINS_OBJS += test-sha1-array.o
733732
TEST_BUILTINS_OBJS += test-sha1.o
733+
TEST_BUILTINS_OBJS += test-sha1-array.o
734734
TEST_BUILTINS_OBJS += test-sigchain.o
735735
TEST_BUILTINS_OBJS += test-strcmp-offset.o
736736
TEST_BUILTINS_OBJS += test-string-list.o

t/helper/test-tool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ static struct test_cmd cmds[] = {
3434
{ "revision-walking", cmd__revision_walking },
3535
{ "run-command", cmd__run_command },
3636
{ "scrap-cache-tree", cmd__scrap_cache_tree },
37-
{ "sha1-array", cmd__sha1_array },
3837
{ "sha1", cmd__sha1 },
38+
{ "sha1-array", cmd__sha1_array },
3939
{ "sigchain", cmd__sigchain },
4040
{ "strcmp-offset", cmd__strcmp_offset },
4141
{ "string-list", cmd__string_list },

t/helper/test-tool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ int cmd__repository(int argc, const char **argv);
3030
int cmd__revision_walking(int argc, const char **argv);
3131
int cmd__run_command(int argc, const char **argv);
3232
int cmd__scrap_cache_tree(int argc, const char **argv);
33-
int cmd__sha1_array(int argc, const char **argv);
3433
int cmd__sha1(int argc, const char **argv);
34+
int cmd__sha1_array(int argc, const char **argv);
3535
int cmd__sigchain(int argc, const char **argv);
3636
int cmd__strcmp_offset(int argc, const char **argv);
3737
int cmd__string_list(int argc, const char **argv);

0 commit comments

Comments
 (0)