diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-06 22:56:56 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-06 22:56:56 +0100 |
commit | f0cccbe3285c039553e1fd8b5a5c7830d6087974 (patch) | |
tree | 57a0902484ec5c8ba3b9a8e7089ed42f58b6a580 /asl/logging/logging_tests.cpp | |
parent | 54affafd86e2b7f387345c08e8c7285c775d75e5 (diff) |
Replace ASL_MOVE, ASL_FWD, and ASL_FWD_LIKE by their std:: equivalent
This is because some compiler stuff and diagnostics tools rely on those
symboles being what they are.
Diffstat (limited to 'asl/logging/logging_tests.cpp')
-rw-r--r-- | asl/logging/logging_tests.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/asl/logging/logging_tests.cpp b/asl/logging/logging_tests.cpp index ec47a8a..ea5bd2a 100644 --- a/asl/logging/logging_tests.cpp +++ b/asl/logging/logging_tests.cpp @@ -2,10 +2,11 @@ // // SPDX-License-Identifier: BSD-3-Clause +#include "asl/base/defer.hpp" #include "asl/logging/logging.hpp" -#include "asl/testing/testing.hpp" #include "asl/strings/string_builder.hpp" -#include "asl/base/defer.hpp" +#include "asl/strings/string_view.hpp" +#include "asl/testing/testing.hpp" ASL_TEST(log) { @@ -27,6 +28,6 @@ ASL_TEST(custom_writer) ASL_LOG_INFO("Hello"); auto sv = string_writer.as_string_view(); - ASL_TEST_EXPECT(sv == "[ INFO ] asl/logging/logging_tests.cpp:27: Hello\n"); + ASL_TEST_EXPECT(sv == "[ INFO ] asl/logging/logging_tests.cpp:28: Hello\n"); } |