Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 27133ca

Browse files
committed
tests: move racy tests to the index
They fit there much better, even though we often check by diffing, it's about the behaviour of the index.
1 parent 5b05f95 commit 27133ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/diff/racy.c renamed to tests/index/racy.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
66

77
static git_repository *g_repo;
88

9-
void test_diff_racy__initialize(void)
9+
void test_index_racy__initialize(void)
1010
{
1111
cl_git_pass(git_repository_init(&g_repo, "diff_racy", false));
1212
}
1313

14-
void test_diff_racy__cleanup(void)
14+
void test_index_racy__cleanup(void)
1515
{
1616
git_repository_free(g_repo);
1717
g_repo = NULL;
1818

1919
cl_fixture_cleanup("diff_racy");
2020
}
2121

22-
void test_diff_racy__diff(void)
22+
void test_index_racy__diff(void)
2323
{
2424
git_index *index;
2525
git_diff *diff;
@@ -48,7 +48,7 @@ void test_diff_racy__diff(void)
4848
git_buf_free(&path);
4949
}
5050

51-
void test_diff_racy__write_index_just_after_file(void)
51+
void test_index_racy__write_index_just_after_file(void)
5252
{
5353
git_index *index;
5454
git_diff *diff;

0 commit comments

Comments
 (0)