win32: drop incorrect `const`ness
diff --git a/tests/win32/longpath.c b/tests/win32/longpath.c
index 07eecd3..5a36875 100644
--- a/tests/win32/longpath.c
+++ b/tests/win32/longpath.c
@@ -36,7 +36,7 @@ void assert_name_too_long(void)
{
const git_error *err;
size_t expected_len, actual_len;
- const char *expected_msg;
+ char *expected_msg;
err = giterr_last();
actual_len = strlen(err->message);