diff options
author | tjr <tjr@FreeBSD.org> | 2004-07-19 08:53:41 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-07-19 08:53:41 +0000 |
commit | c977042a24eb71485fff8fbc432f13571c488c69 (patch) | |
tree | fbb091a4868d49dbde727dd398bf2ddd5c827709 /tools | |
parent | 34d6f974a60b653184562e333479d8396dec7f42 (diff) | |
download | FreeBSD-src-c977042a24eb71485fff8fbc432f13571c488c69.zip FreeBSD-src-c977042a24eb71485fff8fbc432f13571c488c69.tar.gz |
Oops, test error behaviour of wctrans(), not wctype().
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/lib/libc/locale/test-towctrans.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |