Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-01-08 12:35:14 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-01-08 12:35:14 +0300
commitee65ca81d75e9e59c36fedff25548b2ff61bc33d (patch)
treebe1300d2bc39379224b35a79a0965beb75d29a81 /newlib/testsuite
parent80d9bfa9a8e9dbd20ff07c87a1e46c53af580f48 (diff)
* testsuite/newlib.wctype/twctrans.c (main): Use towlower and towupper.
Diffstat (limited to 'newlib/testsuite')
-rw-r--r--newlib/testsuite/newlib.wctype/twctrans.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/testsuite/newlib.wctype/twctrans.c b/newlib/testsuite/newlib.wctype/twctrans.c
index a70e00175..f8b7b50e5 100644
--- a/newlib/testsuite/newlib.wctype/twctrans.c
+++ b/newlib/testsuite/newlib.wctype/twctrans.c
@@ -8,13 +8,13 @@ int main()
x = wctrans ("tolower");
CHECK (x != 0);
- CHECK (towctrans (L'A', x) == tolower ('A'));
- CHECK (towctrans (L'5', x) == tolower ('5'));
+ CHECK (towctrans (L'A', x) == towlower (L'A'));
+ CHECK (towctrans (L'5', x) == towlower (L'5'));
x = wctrans ("toupper");
CHECK (x != 0);
- CHECK (towctrans (L'c', x) == toupper ('c'));
- CHECK (towctrans (L'9', x) == toupper ('9'));
+ CHECK (towctrans (L'c', x) == towupper (L'c'));
+ CHECK (towctrans (L'9', x) == towupper (L'9'));
x = wctrans ("unknown");
CHECK (x == 0);