From c1acb3b3a523636c9b0fff7e0b8893a9855d7fac Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 21 Dec 2022 09:33:34 +0000 Subject: [PATCH] adapt mbstowcs_basic test for unicode table update reformat so it's easier to find which result data belongs to which input --- tests/lib/libc/locale/t_mbstowcs.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/lib/libc/locale/t_mbstowcs.c b/tests/lib/libc/locale/t_mbstowcs.c index d2f3799c81a6..5e40c0111c1e 100644 --- a/tests/lib/libc/locale/t_mbstowcs.c +++ b/tests/lib/libc/locale/t_mbstowcs.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_mbstowcs.c,v 1.2 2017/07/12 17:32:51 perseant Exp $ */ +/* $NetBSD: t_mbstowcs.c,v 1.3 2022/12/21 09:33:34 wiz Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -55,7 +55,7 @@ #include __COPYRIGHT("@(#) Copyright (c) 2011\ The NetBSD Foundation, inc. All rights reserved."); -__RCSID("$NetBSD: t_mbstowcs.c,v 1.2 2017/07/12 17:32:51 perseant Exp $"); +__RCSID("$NetBSD: t_mbstowcs.c,v 1.3 2022/12/21 09:33:34 wiz Exp $"); #include #include @@ -89,9 +89,10 @@ static struct test { 0xFFFF, 0x5D, 0x5B, 0x10000, 0x1FFFFF, 0x5D, 0x5B, 0x200000, 0x3FFFFFF, 0x5D, 0x5B, 0x4000000, 0x7FFFFFFF, 0x5D, 0x0A }, - { 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, - 1, 1, -1, -1, 1, 1, -1, -1, 1, -1 - }, + { 1, -1, -1, 1, 1, -1, 1, 1, 1, 1, + -1, 1, 1, 1, -1, 1, 1, -1, + -1, 1, 1, -1, -1, 1, -1 + }, -1 }, { "ja_JP.ISO2022-JP",