Skip to content

Commit f3bf5f5

Browse files
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

File tree

1 file changed

+52
-220
lines changed

1 file changed

+52
-220
lines changed

0 commit comments

Comments
 (0)