Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/locale Update this test to expect the output ...



details:   https://anonhg.NetBSD.org/src/rev/2c302193bb0a
branches:  trunk
changeset: 828306:2c302193bb0a
user:      kre <kre%NetBSD.org@localhost>
date:      Thu Dec 07 22:23:14 2017 +0000

description:
Update this test to expect the output that is supposed to be produced
by strfmon() rather than the output the old buggy implementation used
to produce.

diffstat:

 tests/lib/libc/locale/t_strfmon.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 6a2d818cfe02 -r 2c302193bb0a tests/lib/libc/locale/t_strfmon.c
--- a/tests/lib/libc/locale/t_strfmon.c Thu Dec 07 22:19:17 2017 +0000
+++ b/tests/lib/libc/locale/t_strfmon.c Thu Dec 07 22:23:14 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_strfmon.c,v 1.1 2017/08/16 13:53:20 joerg Exp $ */
+/* $NetBSD: t_strfmon.c,v 1.2 2017/12/07 22:23:14 kre Exp $ */
 
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_strfmon.c,v 1.1 2017/08/16 13:53:20 joerg Exp $");
+__RCSID("$NetBSD: t_strfmon.c,v 1.2 2017/12/07 22:23:14 kre Exp $");
 
 #include <atf-c.h>
 #include <locale.h>
@@ -50,9 +50,9 @@
                const char *locale;
                const char *expected;
        } tests[] = {
-           { "C", "[**1234.57] [**1234.57]" },
-           { "de_DE.UTF-8", "[ **1234,57 â?¬] [ **1.234,57 EUR ]" },
-           { "en_GB.UTF-8", "[ £**1234.57] [ GBP **1,234.57]" },
+           { "C", "[ **1234.57] [ **1234.57]" },
+           { "de_DE.UTF-8", "[ **1234,57 â?¬] [ **1.234,57 EUR]" },
+           { "en_GB.UTF-8", "[ £**1234.57] [ GBP**1,234.57]" },
        };
        locale_t loc;
        size_t i;



Home | Main Index | Thread Index | Old Index