From b6cd18f9298986d858824302bc0e164cb72372b2 Mon Sep 17 00:00:00 2001 From: Nemanja Trifunovic Date: Fri, 30 Apr 2021 14:59:55 -0400 Subject: [PATCH] test_utf32to8 tests string_view, not string --- tests/test_cpp17.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cpp17.cpp b/tests/test_cpp17.cpp index 8d61541..3416126 100644 --- a/tests/test_cpp17.cpp +++ b/tests/test_cpp17.cpp @@ -28,7 +28,7 @@ TEST(CPP17APITests, test_utf32to8) { u32string utf32string = {0x448, 0x65E5, 0x10346}; u32string_view utf32stringview(utf32string); - string utf8result = utf32to8(utf32string); + string utf8result = utf32to8(utf32stringview); EXPECT_EQ (utf8result.size(), 9); }