diff options
Diffstat (limited to 'src/message_test.c')
-rw-r--r-- | src/message_test.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/message_test.c b/src/message_test.c index 940c1cc0b0..6f71aff920 100644 --- a/src/message_test.c +++ b/src/message_test.c @@ -211,7 +211,6 @@ test_vim_snprintf(void) assert(bsize == 0 || STRNCMP(buf, "001100", bsize_int) == 0); assert(bsize == 0 || buf[MIN(n, bsize_int)] == '\0'); -#ifdef FEAT_FLOAT n = vim_snprintf(buf, bsize, "%f", 1.234); assert(n == 8); assert(bsize == 0 || STRNCMP(buf, "1.234000", bsize_int) == 0); @@ -241,7 +240,6 @@ test_vim_snprintf(void) assert(n == 9); assert(bsize == 0 || STRNCMP(buf, "-0.000000", bsize_int) == 0); assert(bsize == 0 || buf[MIN(n, bsize_int)] == '\0'); -#endif n = vim_snprintf(buf, bsize, "%s", "漢語"); assert(n == 6); |