summaryrefslogtreecommitdiffstats
path: root/src/message_test.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-12-21 18:25:54 +0100
committerBram Moolenaar <Bram@vim.org>2019-12-21 18:25:54 +0100
commit85a2002adb0eda9a9309c2fab4a79edaa91fb834 (patch)
tree99278733712406ab6f291d92f1645c0064c75037 /src/message_test.c
parentfe72d08400d9064b3f959f1f62f279527e64835a (diff)
patch 8.2.0026: still some /* */ commentsv8.2.0026
Problem: Still some /* */ comments. Solution: Convert to // comments.
Diffstat (limited to 'src/message_test.c')
-rw-r--r--src/message_test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/message_test.c b/src/message_test.c
index 55ca814107..6faad65fec 100644
--- a/src/message_test.c
+++ b/src/message_test.c
@@ -14,12 +14,12 @@
#undef NDEBUG
#include <assert.h>
-/* Must include main.c because it contains much more than just main() */
+// Must include main.c because it contains much more than just main()
#define NO_VIM_MAIN
#include "main.c"
-/* This file has to be included because some of the tested functions are
- * static. */
+// This file has to be included because some of the tested functions are
+// static.
#include "message.c"
/*
@@ -31,7 +31,7 @@ test_trunc_string(void)
char_u *buf; /*allocated every time to find uninit errors */
char_u *s;
- /* in place */
+ // in place
buf = alloc(40);
STRCPY(buf, "text");
trunc_string(buf, buf, 20, 40);
@@ -56,7 +56,7 @@ test_trunc_string(void)
assert(STRCMP(buf, "a text t...nott fits") == 0);
vim_free(buf);
- /* copy from string to buf */
+ // copy from string to buf
buf = alloc(40);
s = vim_strsave((char_u *)"text");
trunc_string(s, buf, 20, 40);