From 5792e6a060d4d3a5e9dcb25d206a89275749e576 Mon Sep 17 00:00:00 2001 From: zeffy Date: Thu, 23 Jan 2020 04:51:47 -0800 Subject: [PATCH] =?UTF-8?q?Update=20FormatWide=20test=20to=20use=20proper?= =?UTF-8?q?=20encoding=20of=20=C2=B5s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/chrono-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/chrono-test.cc b/test/chrono-test.cc index 014937b3..828a8aee 100644 --- a/test/chrono-test.cc +++ b/test/chrono-test.cc @@ -154,7 +154,7 @@ TEST(ChronoTest, FormatWide) { EXPECT_EQ(L"42ps", fmt::format(L"{}", std::chrono::duration(42))); EXPECT_EQ(L"42ns", fmt::format(L"{}", std::chrono::nanoseconds(42))); - EXPECT_EQ(L"42µs", fmt::format(L"{}", std::chrono::microseconds(42))); + EXPECT_EQ(L"42\u00B5s", fmt::format(L"{}", std::chrono::microseconds(42))); EXPECT_EQ(L"42ms", fmt::format(L"{}", std::chrono::milliseconds(42))); EXPECT_EQ(L"42cs", fmt::format(L"{}", std::chrono::duration(42)));