diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-10-02 15:59:42 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-10-17 17:09:58 +0100 |
commit | 48687c3fbb3083d364b1257c3c000e4860b2fb48 (patch) | |
tree | 05f7f2e82e6fd7b6dd904cb1b5a54aef6e259dca /Tests/AK/TestSourceLocation.cpp | |
parent | dabd8dbedd70ed7f50de99b719403f1867a4bab2 (diff) | |
download | serenity-48687c3fbb3083d364b1257c3c000e4860b2fb48.zip |
Tests: Remove Clang workaround from TestSourceLocation
Clang 13 now correctly handles `__builtin_FILE()` and
`-ffile-prefix-map` being specified together, so this test should fully
pass.
Diffstat (limited to 'Tests/AK/TestSourceLocation.cpp')
-rw-r--r-- | Tests/AK/TestSourceLocation.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Tests/AK/TestSourceLocation.cpp b/Tests/AK/TestSourceLocation.cpp index f41e5674e3..8fc7f97426 100644 --- a/Tests/AK/TestSourceLocation.cpp +++ b/Tests/AK/TestSourceLocation.cpp @@ -15,10 +15,7 @@ TEST_CASE(basic_scenario) auto location = SourceLocation::current(); EXPECT_EQ(StringView(__FUNCTION__), location.function_name()); EXPECT_EQ(__LINE__ - 2u, location.line_number()); - // FIXME: On Clang, __FILE__ is a relative path, while location.path() is absolute -#ifndef __clang__ EXPECT_EQ(StringView(__FILE__), location.filename()); -#endif } static StringView test_default_arg(const SourceLocation& loc = SourceLocation::current()) |