summaryrefslogtreecommitdiffstatshomepage
path: root/exercises/088_async5.zig
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-04-20 18:45:09 +0200
committerManlio Perillo <manlio.perillo@gmail.com>2023-04-24 10:31:06 +0200
commit108c145bdd8c7f6924e0c41adb634eae90baf9c9 (patch)
treedbdfb22dfe13effdcdc2136098ac9a26fd0cf162 /exercises/088_async5.zig
parent2775d21ed09c3dda300ac9127a305eb89dd5cb1c (diff)
test: refactorize the code
Currently, if there is an error when creating the patches/healed directory, the error message will be printed on stderr, but the build runner will report the test as being successful. Add the fail function and the FailStep, so that the error will be correctly handled by the build runner. Remove the PatchStep, and instead add the heal function so that all the exercises are healed before starting the tests. The heal function executes at the configuration phase, but the possible error is handled by the build runner.
Diffstat (limited to 'exercises/088_async5.zig')
0 files changed, 0 insertions, 0 deletions