mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:17:34 +00:00
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.
This commit is contained in:
parent
dabd8dbedd
commit
48687c3fbb
1 changed files with 0 additions and 3 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue