[all-commits] [llvm/llvm-project] 152116: [libcxx] [test] Fix the monetary locale curr_symbo...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Feb 28 13:41:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1521162d788a297531e18ddb8cf9a901ac8689a2
      https://github.com/llvm/llvm-project/commit/1521162d788a297531e18ddb8cf9a901ac8689a2
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-02-28 (Mon, 28 Feb 2022)

  Changed paths:
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Fix the monetary locale curr_symbol test on Windows, Apple and FreeBSD

International currency symbols (like USD, EUR) are returned with a
trailing space, like "USD ", on previously supported Unix platforms.
On Windows, the locales return them without a trailing space.

Also adjust the test for expecting a different unicode sequence for
the national currency symbol for ru_RU.UTF-8 and zh_CN.UTF-8.

Differential Revision: https://reviews.llvm.org/D120547




More information about the All-commits mailing list