summaryrefslogtreecommitdiff
path: root/AK/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'AK/Tests')
-rw-r--r--AK/Tests/TestSourceLocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Tests/TestSourceLocation.cpp b/AK/Tests/TestSourceLocation.cpp
index 15910062f3..d770751d1d 100644
--- a/AK/Tests/TestSourceLocation.cpp
+++ b/AK/Tests/TestSourceLocation.cpp
@@ -13,7 +13,7 @@
TEST_CASE(basic_scenario)
{
auto location = SourceLocation::current();
- EXPECT_EQ(StringView(__FILE__), location.file_name());
+ EXPECT_EQ(StringView(__FILE__), location.filename());
EXPECT_EQ(StringView(__FUNCTION__), location.function_name());
EXPECT_EQ(__LINE__ - 3u, location.line_number());
}