[all-commits] [llvm/llvm-project] d32f46: [libcxx] [test] Fix the get/put long_double_zh_CN ...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Mar 4 00:19:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d32f46b0766dbbe3dc2304d53d7ed1efa1b29fc0
      https://github.com/llvm/llvm-project/commit/d32f46b0766dbbe3dc2304d53d7ed1efa1b29fc0
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
    M libcxx/test/support/locale_helpers.h

  Log Message:
  -----------
  [libcxx] [test] Fix the get/put long_double_zh_CN tests on Windows

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


  Commit: b2d93400a96cfe88d0f027e717d51a4f6450a163
      https://github.com/llvm/llvm-project/commit/b2d93400a96cfe88d0f027e717d51a4f6450a163
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_en_US.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_string_en_US.pass.cpp
    M libcxx/test/support/locale_helpers.h

  Log Message:
  -----------
  [libcxx] [test] Fix get_string_en_US, get_long_double_en_US for Windows

In the en_US locale on Windows, negative currency amounts is formatted
as "($0.01)" instead of "-$0.01".

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


Compare: https://github.com/llvm/llvm-project/compare/d1a051f926de...b2d93400a96c


More information about the All-commits mailing list