From c977042a24eb71485fff8fbc432f13571c488c69 Mon Sep 17 00:00:00 2001 From: tjr Date: Mon, 19 Jul 2004 08:53:41 +0000 Subject: Oops, test error behaviour of wctrans(), not wctype(). --- tools/regression/lib/libc/locale/test-towctrans.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/regression/lib/libc') diff --git a/tools/regression/lib/libc/locale/test-towctrans.c b/tools/regression/lib/libc/locale/test-towctrans.c index 27ed698..0ac0022 100644 --- a/tools/regression/lib/libc/locale/test-towctrans.c +++ b/tools/regression/lib/libc/locale/test-towctrans.c @@ -62,7 +62,7 @@ main(int argc, char *argv[]) for (j = 0; j < 256; j++) assert(tran[i].func(j) == towctrans(j, t)); } - t = wctype("elephant"); + t = wctrans("elephant"); assert(t == 0); for (i = 0; i < 256; i++) assert(towctrans(i, t) == i); @@ -77,7 +77,7 @@ main(int argc, char *argv[]) for (j = 0; j < 65536; j++) assert(tran[i].func(j) == towctrans(j, t)); } - t = wctype("elephant"); + t = wctrans("elephant"); assert(t == 0); for (i = 0; i < 65536; i++) assert(towctrans(i, t) == i); -- cgit v1.1