From 4726f58adb3c760e5efe85aa01c6192d6e7fb536 Mon Sep 17 00:00:00 2001 From: HicaroD Date: Mon, 15 Jan 2024 16:17:15 -0300 Subject: [PATCH] fix(diagnostic): changing test name --- test/test-parse-function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-parse-function.cpp b/test/test-parse-function.cpp index 1d12ccbc31..ccd12c7050 100644 --- a/test/test-parse-function.cpp +++ b/test/test-parse-function.cpp @@ -1800,7 +1800,7 @@ TEST_F(Test_Parse_Function, return_with_comma_operator_missing_arguments) { } } -TEST_F(Test_Parse_Function, await_instead_of_async_on_function_declaration) { +TEST_F(Test_Parse_Function, unexpected_await_on_function_declaration) { test_parse_and_visit_statement( u8"await function f() { }"_sv, // u8"^^^^^ Diag_Unexpected_Await_On_Function_Declaration"_diag);