summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-11 13:32:00 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2021-11-11 17:31:43 -0500
commitbfdc09714f07d4007c94dee6a9567cee6be9f290 (patch)
treebc7cb0f7b0bb58c040b1102adc5ba9365cb5591d
parentca14942e19788bd01334af64554c3095f3ff0d4a (diff)
downloadlibgit2-bfdc09714f07d4007c94dee6a9567cee6be9f290.tar.gz
test: correct test names
-rw-r--r--tests/odb/loose.c2
-rw-r--r--tests/refs/branches/name.c2
-rw-r--r--tests/refs/tags/name.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/odb/loose.c b/tests/odb/loose.c
index dbbc1490e..fe013a78c 100644
--- a/tests/odb/loose.c
+++ b/tests/odb/loose.c
@@ -228,7 +228,7 @@ void test_odb_loose__permissions_standard(void)
test_write_object_permission(0, 0, GIT_OBJECT_DIR_MODE, GIT_OBJECT_FILE_MODE);
}
-void test_odb_loose_permissions_readonly(void)
+void test_odb_loose__permissions_readonly(void)
{
test_write_object_permission(0777, 0444, 0777, 0444);
}
diff --git a/tests/refs/branches/name.c b/tests/refs/branches/name.c
index 290916eec..efa68e32b 100644
--- a/tests/refs/branches/name.c
+++ b/tests/refs/branches/name.c
@@ -51,7 +51,7 @@ static int name_is_valid(const char *name)
return valid;
}
-void test_refs_branches_is_name_valid(void)
+void test_refs_branches_name__is_name_valid(void)
{
cl_assert_equal_i(true, name_is_valid("master"));
cl_assert_equal_i(true, name_is_valid("test/master"));
diff --git a/tests/refs/tags/name.c b/tests/refs/tags/name.c
index 0ca5df7d6..1dd1760b9 100644
--- a/tests/refs/tags/name.c
+++ b/tests/refs/tags/name.c
@@ -7,7 +7,7 @@ static int name_is_valid(const char *name)
return valid;
}
-void test_refs_tags_is_name_valid(void)
+void test_refs_tags_name__is_name_valid(void)
{
cl_assert_equal_i(true, name_is_valid("sometag"));
cl_assert_equal_i(true, name_is_valid("test/sometag"));