Fix test after merging a stale PR (#577)

This commit is contained in:
Arseny Kapoulkine 2022-07-05 11:36:33 -07:00 committed by GitHub
parent baa35117bd
commit 42510bb5c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -518,7 +518,7 @@ TEST_CASE_FIXTURE(BuiltinsFixture, "greedy_inference_with_shared_self_triggers_f
)"); )");
LUAU_REQUIRE_ERROR_COUNT(1, result); LUAU_REQUIRE_ERROR_COUNT(1, result);
CHECK_EQ("Not all codepaths in this function return '{ @metatable T, {| |} }, a...'.", toString(result.errors[0])); CHECK_EQ("Not all codepaths in this function return 'self, a...'.", toString(result.errors[0]));
} }
TEST_SUITE_END(); TEST_SUITE_END();