diff options
| author | Manlio Perillo <[email protected]> | 2023-05-06 18:02:18 +0200 |
|---|---|---|
| committer | Manlio Perillo <[email protected]> | 2023-05-06 18:12:04 +0200 |
| commit | 1dd5852bec6fb72ebb1b712c7a78425dcc015390 (patch) | |
| tree | 9717148034f0d7f915affffde03296659d824acd /src/ipc.zig | |
| parent | 397c6671c0050f707b0599a5fc96fab9621281e6 (diff) | |
| download | ziglings-1dd5852bec6fb72ebb1b712c7a78425dcc015390.tar.xz ziglings-1dd5852bec6fb72ebb1b712c7a78425dcc015390.zip | |
build: use multiline string literals when necessary
Update the output and hint fields in the `exercises` slice to use a
multiline string literal when the string have multiple lines or use the
`"` character. This will greatly improve readability.
Additionally, remove the trailing whitespace on each line and check it
in the validate_exercises function.
Update the output comparison logic in ZiglingStep, since the current
code assumes that the string has only one line.
Update test/tests.zig to use the new `CheckNamedStep` in test case 1,
since RunStep.StdIo.Check is no longer able to correctly check the
output.
Fixes #283
Diffstat (limited to 'src/ipc.zig')
0 files changed, 0 insertions, 0 deletions
