Repository navigation
Additional spec generators - #690
Conversation
|
This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested. If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos. For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping |
|
|
||
| utils.stringify = function(s) | ||
| s = s:gsub('\n', '\\n') | ||
| s = s:gsub('\\', '\\\\'):gsub('\n', '\\n') |
There was a problem hiding this comment.
This fixes https://github.com/exercism/lua/pull/690/changes#diff-0745fedbfda3ea79019ffc728ad013f8a767d32eb58a27775fbf4231e7d84783R82 which otherwise needs [[ and ]] to contain an escaped backslash.
No description provided.