Closed lydell closed 2 years ago
I tested this version of the test runner against the problematic code that I reported on Slack (test containing |> Fuzz.map (String.cons '\u{1F648}')
) and it does fix the problem in that case. So it looks good to me. Nice work!
Fixes https://github.com/rtfeldman/node-test-runner/issues/581
Note: I had a hard time deciding how “well” we should parse this. elm-test doesn’t care at all what’s inside strings and char literals – it just needs to “get past them” without being confused about later syntax. I think I ended up with a good trade-off in the end. See the code comments in the diff for more details.