summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-06-20 17:20:07 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-06-22 16:11:58 +0200
commit27133caf3c912d81657d307577869571b70cc102 (patch)
tree7188ad35ac83debda94077165369931cf04b8016
parent5b05f954242a00077eedcdff8f20a820299deef2 (diff)
downloadlibgit2-27133caf3c912d81657d307577869571b70cc102.tar.gz
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.
-rw-r--r--tests/index/racy.c (renamed from tests/diff/racy.c)8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/diff/racy.c b/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;