projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sqrt* tests: More tests.
[gnulib.git]
/
tests
/
uniwidth
/
test-uc_width2.c
diff --git
a/tests/uniwidth/test-uc_width2.c
b/tests/uniwidth/test-uc_width2.c
index
78f71e0
..
172f472
100644
(file)
--- a/
tests/uniwidth/test-uc_width2.c
+++ b/
tests/uniwidth/test-uc_width2.c
@@
-1,5
+1,5
@@
/* Test of uc_width() function.
/* Test of uc_width() function.
- Copyright (C) 2007-20
08
Free Software Foundation, Inc.
+ Copyright (C) 2007-20
12
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-21,19
+21,8
@@
#include "uniwidth.h"
#include <stdio.h>
#include "uniwidth.h"
#include <stdio.h>
-#include <stdlib.h>
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
- while (0)
+#include "macros.h"
/* One of 0, '0', '1', 'A', '2'. */
static char current_width;
/* One of 0, '0', '1', 'A', '2'. */
static char current_width;