diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-17 02:59:44 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-17 02:59:44 +0300 |
commit | a44af421ee6f3d5025859c135ff6a0a1df50c1ee (patch) | |
tree | 2c2e4ad9f07915e25be2dd526fd22100ec3fa3c8 /test/unit_tests | |
parent | process_tests: remove temp files (diff) | |
download | winapi-common-a44af421ee6f3d5025859c135ff6a0a1df50c1ee.tar.gz winapi-common-a44af421ee6f3d5025859c135ff6a0a1df50c1ee.zip |
clang: don't break long string literals
Diffstat (limited to '')
-rw-r--r-- | test/unit_tests/error.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit_tests/error.cpp b/test/unit_tests/error.cpp index f70d95d..86d2eb6 100644 --- a/test/unit_tests/error.cpp +++ b/test/unit_tests/error.cpp @@ -15,9 +15,9 @@ BOOST_AUTO_TEST_SUITE(error_tests) BOOST_AUTO_TEST_CASE(file_not_found) { const std::string actual{winapi::error::windows(ERROR_FILE_NOT_FOUND, "CreateFileW").what()}; - BOOST_TEST(actual == - "Function CreateFileW failed with error code 2: The system cannot find the file " - "specified."); + const auto expected = + "Function CreateFileW failed with error code 2: The system cannot find the file specified."; + BOOST_TEST(actual == expected); } BOOST_AUTO_TEST_SUITE_END() |