Instead of having the input data and expected output stored in separate files, combine all data into a single file format similar to the *.lint-test format.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rPHU12167cf6fb23: Improve test data format for XHPAST unit tests
Ran unit tests.
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Branch
- master
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 8885 Build 10400: Run Core Tests Build 10399: arc lint + arc unit
Event Timeline
Comment Actions
Oh -- per D14498, these tests still kind of suck because they're almost unreadable. We'd only be slightly worse off by just hashing the tree, I think.
It would be nice to print them in some more human-readable format (mark up the input PHP file somehow to annotate tokens and the parse tree?) instead of dumping the raw JSON.