Skip to content

Commit

Permalink
Fix test after merging a stale PR (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeux committed Jul 5, 2022
1 parent baa3511 commit 42510bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TypeInfer.provisional.test.cpp
Expand Up @@ -518,7 +518,7 @@ TEST_CASE_FIXTURE(BuiltinsFixture, "greedy_inference_with_shared_self_triggers_f
)");

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();

0 comments on commit 42510bb

Please sign in to comment.