Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Arrow function tests: remove lots of code duplication
* Simplify the arrow function testing by using a helper function to check the token positions. * Fix incorrect parameter order of the `$expected` vs `$result` parameters in `assertSame()`. While when the test passes, this makes no difference, it does make a difference in the error output when a test fails.
- Loading branch information