Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TestYield to not access an inaccessible property
Summary: One of the tests in TestYield was accessing a protected property 'message' from the Exception class from a context that does not have access. hphpc and hphpi currently do not do accessibility checks for builtin classes, but we should still fix the test. This diff fixes the test to call getMessage() instead of accessing the 'message' property directly. Test Plan: TestCodeRun TestYield TestCodeRunEval TestYield Reviewers: mwilliams, myang, qigao, kma Reviewed By: mwilliams CC: ps, mwilliams, andrewparoski Differential Revision: 325297
- Loading branch information