From 27133caf3c912d81657d307577869571b70cc102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Sat, 20 Jun 2015 17:20:07 +0200 Subject: [PATCH] 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. --- tests/{diff => index}/racy.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename tests/{diff => index}/racy.c (93%) diff --git a/tests/diff/racy.c b/tests/index/racy.c similarity index 93% rename from tests/diff/racy.c rename to tests/index/racy.c index a516e26c0..089fe5d7d 100644 --- a/tests/diff/racy.c +++ b/tests/index/racy.c @@ -6,12 +6,12 @@ static git_repository *g_repo; -void test_diff_racy__initialize(void) +void test_index_racy__initialize(void) { cl_git_pass(git_repository_init(&g_repo, "diff_racy", false)); } -void test_diff_racy__cleanup(void) +void test_index_racy__cleanup(void) { git_repository_free(g_repo); g_repo = NULL; @@ -19,7 +19,7 @@ void test_diff_racy__cleanup(void) cl_fixture_cleanup("diff_racy"); } -void test_diff_racy__diff(void) +void test_index_racy__diff(void) { git_index *index; git_diff *diff; @@ -48,7 +48,7 @@ void test_diff_racy__diff(void) git_buf_free(&path); } -void test_diff_racy__write_index_just_after_file(void) +void test_index_racy__write_index_just_after_file(void) { git_index *index; git_diff *diff;