Commit f3bf5f5
committed
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.1 parent abc5f5f commit f3bf5f5
1 file changed
+52
-220
lines changed
0 commit comments